changeset 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 d55cbb45c565
children 5855f919cbd6
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/AnnotationFacet.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/DifferenceCurveFacet.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/HistoricalDischargeWQFacet.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/ReferenceCurveFacet.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/SQOverview.java artifacts/src/main/java/org/dive4elements/river/artifacts/states/ScenarioSelect.java artifacts/src/main/java/org/dive4elements/river/exports/CrossSectionGenerator.java artifacts/src/main/java/org/dive4elements/river/exports/extreme/ExtremeWQCurveGenerator.java artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java artifacts/src/main/java/org/dive4elements/river/jfree/CollisionFreeXYTextAnnotation.java
diffstat 10 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/AnnotationFacet.java	Tue Dec 08 18:44:41 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/AnnotationFacet.java	Tue Dec 08 19:16:03 2015 +0100
@@ -20,7 +20,6 @@
 import org.dive4elements.river.jfree.RiverAnnotation;
 import org.dive4elements.river.jfree.StickyAxisAnnotation;
 
-import org.dive4elements.river.model.Annotation;
 import org.dive4elements.river.model.FastAnnotations;
 
 import org.dive4elements.artifactdatabase.state.DefaultFacet;
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/DifferenceCurveFacet.java	Tue Dec 08 18:44:41 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/DifferenceCurveFacet.java	Tue Dec 08 19:16:03 2015 +0100
@@ -14,7 +14,6 @@
 import org.dive4elements.artifacts.Artifact;
 import org.dive4elements.artifacts.CallContext;
 import org.dive4elements.river.artifacts.WINFOArtifact;
-import org.dive4elements.river.artifacts.model.WKmsImpl;
 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType;
 
 
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/HistoricalDischargeWQFacet.java	Tue Dec 08 18:44:41 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/HistoricalDischargeWQFacet.java	Tue Dec 08 19:16:03 2015 +0100
@@ -11,7 +11,6 @@
 import org.dive4elements.artifactdatabase.state.Facet;
 import org.dive4elements.artifacts.Artifact;
 import org.dive4elements.artifacts.CallContext;
-import org.dive4elements.river.artifacts.model.FacetTypes;
 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType;
 
 import org.apache.log4j.Logger;
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/ReferenceCurveFacet.java	Tue Dec 08 18:44:41 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/ReferenceCurveFacet.java	Tue Dec 08 19:16:03 2015 +0100
@@ -10,7 +10,6 @@
 
 import java.util.ArrayList;
 import java.util.List;
-import java.util.Collections;
 
 import org.dive4elements.artifactdatabase.state.Facet;
 
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/SQOverview.java	Tue Dec 08 18:44:41 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/SQOverview.java	Tue Dec 08 19:16:03 2015 +0100
@@ -27,7 +27,6 @@
 import org.w3c.dom.Element;
 
 import org.dive4elements.river.utils.KMIndex;
-import org.dive4elements.river.artifacts.model.RiverFactory;
 
 public class SQOverview
 implements   Serializable
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/ScenarioSelect.java	Tue Dec 08 18:44:41 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/ScenarioSelect.java	Tue Dec 08 19:16:03 2015 +0100
@@ -14,7 +14,6 @@
 import org.dive4elements.artifacts.CallMeta;
 import org.dive4elements.artifacts.common.utils.FileTools;
 import org.dive4elements.artifacts.common.utils.XMLUtils;
-import org.dive4elements.artifacts.common.utils.XMLUtils.ElementCreator;
 import org.dive4elements.river.artifacts.D4EArtifact;
 import org.dive4elements.river.artifacts.resources.Resources;
 import org.dive4elements.river.utils.RiverUtils;
--- a/artifacts/src/main/java/org/dive4elements/river/exports/CrossSectionGenerator.java	Tue Dec 08 18:44:41 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/CrossSectionGenerator.java	Tue Dec 08 19:16:03 2015 +0100
@@ -33,7 +33,6 @@
 import org.dive4elements.river.jfree.RiverAnnotation;
 import org.dive4elements.river.jfree.StyledXYSeries;
 import org.dive4elements.river.model.FastCrossSectionLine;
-import org.dive4elements.river.themes.LineStyle;
 import org.dive4elements.river.themes.TextStyle;
 import org.dive4elements.river.themes.ThemeDocument;
 import org.dive4elements.river.utils.RiverUtils;
@@ -184,12 +183,10 @@
             // Access text styling, if any.
             ThemeDocument theme = fa.getTheme();
             TextStyle textStyle = null;
-            // XXX: DEAD CODE // LineStyle lineStyle = null;
 
             // Get Themeing information and add legend item.
             if (theme != null) {
                 textStyle = theme.parseComplexTextStyle();
-                // XXX: DEAD CODE // lineStyle = themeAccess.parseLineStyle();
                 if (fa.getLabel() != null) {
                     LegendItemCollection lic = new LegendItemCollection();
                     LegendItemCollection old = plot.getFixedLegendItems();
--- a/artifacts/src/main/java/org/dive4elements/river/exports/extreme/ExtremeWQCurveGenerator.java	Tue Dec 08 18:44:41 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/extreme/ExtremeWQCurveGenerator.java	Tue Dec 08 19:16:03 2015 +0100
@@ -19,7 +19,6 @@
 import org.jfree.data.xy.XYSeries;
 
 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet;
-import org.dive4elements.artifactdatabase.state.Facet;
 import org.dive4elements.river.artifacts.access.FixAnalysisAccess;
 import org.dive4elements.river.artifacts.D4EArtifact;
 import org.dive4elements.river.artifacts.model.DateRange;
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java	Tue Dec 08 18:44:41 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java	Tue Dec 08 19:16:03 2015 +0100
@@ -12,7 +12,6 @@
 import java.io.OutputStream;
 import java.text.DateFormat;
 import java.text.NumberFormat;
-import java.util.Arrays;
 import java.util.ArrayList;
 import java.util.List;
 
--- a/artifacts/src/main/java/org/dive4elements/river/jfree/CollisionFreeXYTextAnnotation.java	Tue Dec 08 18:44:41 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/jfree/CollisionFreeXYTextAnnotation.java	Tue Dec 08 19:16:03 2015 +0100
@@ -9,7 +9,6 @@
 package org.dive4elements.river.jfree;
 
 import java.awt.Shape;
-import java.awt.geom.Rectangle2D;
 
 import org.jfree.chart.entity.EntityCollection;
 import org.jfree.chart.annotations.XYTextAnnotation;

http://dive4elements.wald.intevation.org