Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/jfree/RiverAnnotation.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | 1b35b2ddfc28 |
children |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/jfree/RiverAnnotation.java Thu Jan 18 20:10:59 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/jfree/RiverAnnotation.java Thu Jan 18 20:12:01 2018 +0100 @@ -38,13 +38,18 @@ protected String label; - public RiverAnnotation(String label, List<StickyAxisAnnotation> annotations) { + public RiverAnnotation( + String label, + List<StickyAxisAnnotation> annotations + ) { this(label, annotations, null, null); } /** Create annotations, parameter might be null. */ - public RiverAnnotation(String label, List<StickyAxisAnnotation> annotations, + public RiverAnnotation( + String label, + List<StickyAxisAnnotation> annotations, List<HYKFactory.Zone> bAnnotations ) { this(label, annotations, bAnnotations, null); @@ -52,16 +57,19 @@ /** Create annotations, parameter might be null. */ - public RiverAnnotation(String label, List<StickyAxisAnnotation> annotations, - List<HYKFactory.Zone> bAnnotations, ThemeDocument theme + public RiverAnnotation( + String label, + List<StickyAxisAnnotation> annotations, + List<HYKFactory.Zone> bAnnotations, + ThemeDocument theme ) { this.label = label; this.axisTextAnnotations = (annotations != null) - ? annotations - : Collections.<StickyAxisAnnotation>emptyList(); + ? annotations + : Collections.<StickyAxisAnnotation>emptyList(); this.boxes = (bAnnotations != null) - ? bAnnotations - : Collections.<HYKFactory.Zone>emptyList(); + ? bAnnotations + : Collections.<HYKFactory.Zone>emptyList(); this.textAnnotations = Collections.<XYTextAnnotation>emptyList(); this.setTheme(theme); }