comparison artifacts/src/main/java/org/dive4elements/river/exports/CrossSectionGenerator.java @ 8786:0beb34d55630

Remove unused or redundant imports. Found with mvn checkstyle:checkstyle.
author Tom Gottfried <tom@intevation.de>
date Tue, 08 Dec 2015 19:16:03 +0100
parents c086b06b81e5
children 5e38e2924c07
comparison
equal deleted inserted replaced
8785:d55cbb45c565 8786:0beb34d55630
31 import org.dive4elements.river.artifacts.model.HYKFactory; 31 import org.dive4elements.river.artifacts.model.HYKFactory;
32 import org.dive4elements.river.artifacts.resources.Resources; 32 import org.dive4elements.river.artifacts.resources.Resources;
33 import org.dive4elements.river.jfree.RiverAnnotation; 33 import org.dive4elements.river.jfree.RiverAnnotation;
34 import org.dive4elements.river.jfree.StyledXYSeries; 34 import org.dive4elements.river.jfree.StyledXYSeries;
35 import org.dive4elements.river.model.FastCrossSectionLine; 35 import org.dive4elements.river.model.FastCrossSectionLine;
36 import org.dive4elements.river.themes.LineStyle;
37 import org.dive4elements.river.themes.TextStyle; 36 import org.dive4elements.river.themes.TextStyle;
38 import org.dive4elements.river.themes.ThemeDocument; 37 import org.dive4elements.river.themes.ThemeDocument;
39 import org.dive4elements.river.utils.RiverUtils; 38 import org.dive4elements.river.utils.RiverUtils;
40 import org.dive4elements.river.utils.Formatter; 39 import org.dive4elements.river.utils.Formatter;
41 40
182 for(RiverAnnotation fa : this.annotations) { 181 for(RiverAnnotation fa : this.annotations) {
183 182
184 // Access text styling, if any. 183 // Access text styling, if any.
185 ThemeDocument theme = fa.getTheme(); 184 ThemeDocument theme = fa.getTheme();
186 TextStyle textStyle = null; 185 TextStyle textStyle = null;
187 // XXX: DEAD CODE // LineStyle lineStyle = null;
188 186
189 // Get Themeing information and add legend item. 187 // Get Themeing information and add legend item.
190 if (theme != null) { 188 if (theme != null) {
191 textStyle = theme.parseComplexTextStyle(); 189 textStyle = theme.parseComplexTextStyle();
192 // XXX: DEAD CODE // lineStyle = themeAccess.parseLineStyle();
193 if (fa.getLabel() != null) { 190 if (fa.getLabel() != null) {
194 LegendItemCollection lic = new LegendItemCollection(); 191 LegendItemCollection lic = new LegendItemCollection();
195 LegendItemCollection old = plot.getFixedLegendItems(); 192 LegendItemCollection old = plot.getFixedLegendItems();
196 lic.add(createLegendItem(theme, fa.getLabel())); 193 lic.add(createLegendItem(theme, fa.getLabel()));
197 // (Re-)Add prior legend entries. 194 // (Re-)Add prior legend entries.

http://dive4elements.wald.intevation.org