Issue #1542 throw out non-watches in watches resource

Former-commit-id: 4c0e37a050 [formerly b651007bc7] [formerly 2f5d5f08ae] [formerly 97bd112438 [formerly 2f5d5f08ae [formerly e719c4112920802a7457ced7836a1c4a42140400]]]
Former-commit-id: 97bd112438
Former-commit-id: 64003f818d010d0e9ef46b0f08de3ba66cac4046 [formerly 50565fee11]
Former-commit-id: fbbf2f3cda
This commit is contained in:
Steve Harris 2013-01-30 11:26:20 -06:00
parent 5d59242f46
commit 11042fc60c

View file

@ -192,6 +192,9 @@ public class WatchesResource extends AbstractWWAResource {
JTSCompiler jtsCompiler = new JTSCompiler(ss, null,
this.descriptor, PointStyle.CROSS);
jtsCompiler.handle(geo, color);
if (record.getPhen() == null) {
return;
}
ss.setFillPattern(FillPatterns.getGLPattern(record.getPhen()
.equals("TO") ? "VERTICAL" : "HORIZONTAL"));
ss.compile();