Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/PolygonSeries.java @ 815:22c18083225e
Removed compiler warnings while JavaDoc generation.
gnv-artifacts/trunk@900 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 06:59:33 +0000 |
parents | cdade5005cba |
children | f953c9a559d8 |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/PolygonSeries.java Fri Apr 09 14:34:45 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/jfreechart/PolygonSeries.java Mon Apr 12 06:59:33 2010 +0000 @@ -88,26 +88,16 @@ } - /** - * - * @param rings - */ public void setRings(CompactXYItems [] rings) { this.rings = rings; } - /** - * - * @return - */ + public CompactXYItems [] getRings() { return rings; } - /** - * - * @param newRing - */ + public void addRing(CompactXYItems newRing) { if (rings == null) { rings = new CompactXYItems [] { newRing }; @@ -120,10 +110,7 @@ } } - /** - * - * @param newRings - */ + public void addRings(CompactXYItems [] newRings) { if (newRings == null || newRings.length == 0) { return; @@ -140,61 +127,32 @@ } } - /** - * - * @param key - * @return - */ + public Object getAttribute(Object key) { return attributes.get(key); } - /** - * - * @param key - * @param value - * @return - */ public Object setAttribute(Object key, Object value) { return attributes.put(key, value); } - /** - * - * @return - */ public int getItemCount() { return rings != null ? rings.length : 0; } - /** - * - * @param idx - * @return - */ public CompactXYItems getItem(int idx) { return rings[idx]; } - /** - * - * @param key - * @return - */ public Object removeAttribute(Object key) { return attributes.remove(key); } - /** - * - * @param key - * @return - */ public boolean hasAttribute(Object key) { return attributes.containsKey(key); }