Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/PolygonSeries.java @ 447:92b7ccbf6163
Improved generation of iso lines in vertical cross section.
gnv-artifacts/trunk@495 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 01 Jan 2010 21:52:41 +0000 |
parents | 6642ab6c583c |
children | b1f5f2a8840f |
comparison
equal
deleted
inserted
replaced
446:f5a041000357 | 447:92b7ccbf6163 |
---|---|
95 return attributes.put(key, value); | 95 return attributes.put(key, value); |
96 } | 96 } |
97 | 97 |
98 | 98 |
99 public int getItemCount() { | 99 public int getItemCount() { |
100 return rings.length; | 100 return rings != null ? rings.length : 0; |
101 } | 101 } |
102 | 102 |
103 | 103 |
104 public CompactXYItems getItem(int idx) { | 104 public CompactXYItems getItem(int idx) { |
105 return rings[idx]; | 105 return rings[idx]; |