Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator2.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 | d199860fb087 |
children | 1cc7653ca84f 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
25 | 25 |
26 import org.apache.log4j.Logger; | 26 import org.apache.log4j.Logger; |
27 | 27 |
28 public class LongitudinalSectionGenerator2 extends DiagramGenerator | 28 public class LongitudinalSectionGenerator2 extends DiagramGenerator |
29 { | 29 { |
30 private static Logger log = Logger.getLogger(LongitudinalSectionGenerator2.class); | 30 private static Logger log = Logger.getLogger( |
31 LongitudinalSectionGenerator2.class); | |
31 | 32 |
32 /** Wrapper around the doOut info for postprocessing. */ | 33 /** Wrapper around the doOut info for postprocessing. */ |
33 protected static class SuperBundle | 34 protected static class SuperBundle |
34 { | 35 { |
35 public ArtifactAndFacet bundle; | 36 public ArtifactAndFacet bundle; |
36 public ThemeDocument theme; | 37 public ThemeDocument theme; |
37 boolean visible; | 38 boolean visible; |
38 public SuperBundle(ArtifactAndFacet bundle, ThemeDocument theme, boolean visible) { | 39 public SuperBundle( |
40 ArtifactAndFacet bundle, | |
41 ThemeDocument theme, | |
42 boolean visible | |
43 ) { | |
39 this.bundle = bundle; | 44 this.bundle = bundle; |
40 this.theme = theme; | 45 this.theme = theme; |
41 this.visible = visible; | 46 this.visible = visible; |
42 } | 47 } |
43 }; | 48 }; |
151 } | 156 } |
152 | 157 |
153 calculateRadius(); // This calculates the real start and end km's | 158 calculateRadius(); // This calculates the real start and end km's |
154 | 159 |
155 for (SuperBundle superbundle: postOutAF) { | 160 for (SuperBundle superbundle: postOutAF) { |
156 super.doOut(superbundle.bundle, superbundle.theme, superbundle.visible); | 161 super.doOut( |
162 superbundle.bundle, | |
163 superbundle.theme, | |
164 superbundle.visible); | |
157 } | 165 } |
158 } | 166 } |
159 | 167 |
160 /* We override doOut here to save the startkm and endkm in the | 168 /* We override doOut here to save the startkm and endkm in the |
161 * context. Some facets will deliver different data because of | 169 * context. Some facets will deliver different data because of |