Issue #1542 throw out non-watches in watches resource
Former-commit-id:2f5d5f08ae
[formerly e719c4112920802a7457ced7836a1c4a42140400] Former-commit-id:97bd112438
This commit is contained in:
parent
9d2a960cb4
commit
50565fee11
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue