Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/raster/IsoPolygonSeriesProducer.java @ 801:d766fe2d917a
More javadoc.
gnv-artifacts/trunk@883 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 06 Apr 2010 16:53:43 +0000 |
parents | 6cff63d0c434 |
children | 4abe172be970 |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/raster/IsoPolygonSeriesProducer.java Tue Apr 06 13:07:11 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/raster/IsoPolygonSeriesProducer.java Tue Apr 06 16:53:43 2010 +0000 @@ -97,18 +97,18 @@ } // for all in common open } // if map defined for key - if (ps.getItemCount() > 0) { - series.add(ps); - if (attributeGenerator != null) { + if (ps.getItemCount() > 0) { + series.add(ps); + if (attributeGenerator != null) { Object attribute = attributeGenerator .generateAttribute(key.i, key.j); if (attribute != null) { ps.setAttribute("label", attribute); - } - } - ps.setAttribute("line.width", LINE_WIDTH); - } + } + } + ps.setAttribute("line.width", LINE_WIDTH); + } } // for all pairs return series;