# HG changeset patch # User Tom Gottfried # Date 1449598563 -3600 # Node ID 0beb34d556309bf0702c9c2d20294d7a7f10a990 # Parent d55cbb45c565e813160fe2c628d896a0c539129f Remove unused or redundant imports. Found with mvn checkstyle:checkstyle. diff -r d55cbb45c565 -r 0beb34d55630 artifacts/src/main/java/org/dive4elements/river/artifacts/model/AnnotationFacet.java --- 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; diff -r d55cbb45c565 -r 0beb34d55630 artifacts/src/main/java/org/dive4elements/river/artifacts/model/DifferenceCurveFacet.java --- 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; diff -r d55cbb45c565 -r 0beb34d55630 artifacts/src/main/java/org/dive4elements/river/artifacts/model/HistoricalDischargeWQFacet.java --- 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; diff -r d55cbb45c565 -r 0beb34d55630 artifacts/src/main/java/org/dive4elements/river/artifacts/model/ReferenceCurveFacet.java --- 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; diff -r d55cbb45c565 -r 0beb34d55630 artifacts/src/main/java/org/dive4elements/river/artifacts/model/SQOverview.java --- 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 diff -r d55cbb45c565 -r 0beb34d55630 artifacts/src/main/java/org/dive4elements/river/artifacts/states/ScenarioSelect.java --- 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; diff -r d55cbb45c565 -r 0beb34d55630 artifacts/src/main/java/org/dive4elements/river/exports/CrossSectionGenerator.java --- 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(); diff -r d55cbb45c565 -r 0beb34d55630 artifacts/src/main/java/org/dive4elements/river/exports/extreme/ExtremeWQCurveGenerator.java --- 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; diff -r d55cbb45c565 -r 0beb34d55630 artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java --- 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; diff -r d55cbb45c565 -r 0beb34d55630 artifacts/src/main/java/org/dive4elements/river/jfree/CollisionFreeXYTextAnnotation.java --- 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;