# HG changeset patch # User Felix Wolfsteller # Date 1351262547 -7200 # Node ID 18c66e586e449ba699ca9ec9e7212e76f839df5a # Parent 0aa42c9d58e95ede0d2176bfdfdb51ba49cd3d08 Doc and whitespace cosmetics. diff -r 0aa42c9d58e9 -r 18c66e586e44 flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java --- a/flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java Fri Oct 26 16:41:36 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java Fri Oct 26 16:42:27 2012 +0200 @@ -9,7 +9,8 @@ import org.w3c.dom.Document; /** - * List of Text- Annotations with name and theme. + * List of Text- Annotations (Sticky to one axis or in space) + * and 'HYK'-Annotations (rectangles/areas) with name and theme. */ public class FLYSAnnotation { @@ -46,13 +47,13 @@ public FLYSAnnotation(String label, List annotations, List bAnnotations, Document theme ) { - this.label = label; + this.label = label; this.axisTextAnnotations = (annotations != null) - ? annotations - : Collections.emptyList(); - this.boxes = (bAnnotations != null) - ? bAnnotations - : Collections.emptyList(); + ? annotations + : Collections.emptyList(); + this.boxes = (bAnnotations != null) + ? bAnnotations + : Collections.emptyList(); this.textAnnotations = Collections.emptyList(); this.setTheme(theme); }