[PATCH 5 of 9] Cleanups

Wald Commits scm-commit at wald.intevation.org
Thu Mar 26 12:11:59 CET 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1427367125 -3600
# Node ID 3b85c8cee94b8e09bfde47f0e105bf97af8d70cd
# Parent  362abb64e8977c0b96ce4c3f7114a967db40aaa6
Cleanups

diff -r 362abb64e897 -r 3b85c8cee94b artifacts/src/main/java/org/dive4elements/river/artifacts/states/sq/SQPeriodSelect.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/sq/SQPeriodSelect.java	Thu Mar 26 11:51:47 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/sq/SQPeriodSelect.java	Thu Mar 26 11:52:05 2015 +0100
@@ -12,8 +12,6 @@
 import java.util.List;
 import java.util.TreeSet;
 
-import org.apache.log4j.Logger;
-
 import org.w3c.dom.Element;
 
 import org.dive4elements.river.artifacts.states.PeriodsSelect;
@@ -21,7 +19,6 @@
 import org.dive4elements.river.artifacts.D4EArtifact;
 import org.dive4elements.river.artifacts.model.SQOverview;
 import org.dive4elements.river.artifacts.model.SQOverviewFactory;
-import org.dive4elements.river.artifacts.model.SQOverview.KmFilter;
 
 import org.dive4elements.river.utils.KMIndex;
 
@@ -34,8 +31,6 @@
 
 public class SQPeriodSelect extends PeriodsSelect {
 
-    private static Logger log = Logger.getLogger(SQPeriodSelect.class);
-
     public static final String UI_PROVIDER = "sq.period.select";
 
     private static final long serialVersionUID = 1L;
@@ -46,8 +41,6 @@
         RangeAccess access = new RangeAccess(arti);
         double km = access.getLocations()[0];
 
-        /* Bit of an overkill here but it will be cached and accessed
-         * in the next state anyway. */
         SQOverview overview = SQOverviewFactory.getOverview(access.getRiverName());
 
         /* Filter is not implemented and only checks if a complete


More information about the Dive4Elements-commits mailing list