[Dive4elements-commits] [PATCH 6 of 9] Doc and whitespace cosmetics
Wald Commits
scm-commit at wald.intevation.org
Fri Oct 26 16:40:52 CEST 2012
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# 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<StickyAxisAnnotation> annotations,
List<HYKFactory.Zone> bAnnotations, Document theme
) {
- this.label = label;
+ this.label = label;
this.axisTextAnnotations = (annotations != null)
- ? annotations
- : Collections.<StickyAxisAnnotation>emptyList();
- this.boxes = (bAnnotations != null)
- ? bAnnotations
- : Collections.<HYKFactory.Zone>emptyList();
+ ? annotations
+ : Collections.<StickyAxisAnnotation>emptyList();
+ this.boxes = (bAnnotations != null)
+ ? bAnnotations
+ : Collections.<HYKFactory.Zone>emptyList();
this.textAnnotations = Collections.<XYTextAnnotation>emptyList();
this.setTheme(theme);
}
More information about the Dive4elements-commits
mailing list