[PATCH] Removed obsolete imports. Fixed Logger in SQ measurement

Wald Commits scm-commit at wald.intevation.org
Mon Jan 13 11:52:26 CET 2014


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1389610342 -3600
# Node ID 3d772f52080a62fb011da1e70df3177f63fdff24
# Parent  c440aa3e7ad1ddcaa53e821910642a6e0aeaae12
Removed obsolete imports. Fixed Logger in SQ measurement.

diff -r c440aa3e7ad1 -r 3d772f52080a artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/Measurement.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/Measurement.java	Fri Dec 20 18:52:09 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/Measurement.java	Mon Jan 13 11:52:22 2014 +0100
@@ -8,17 +8,14 @@
 
 package org.dive4elements.river.artifacts.model.sq;
 
-import java.util.Arrays;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.apache.log4j.Logger;
 
 public class Measurement
 {
-    private static final Log log =
-        LogFactory.getLog(Measurement.class);
+    private static final Logger log = Logger.getLogger(Measurement.class);
 
     public static final double LOG_10_8 = Math.log(10) - Math.log(8);
     public static final double SCALE_8 = Math.log(10) - Math.log(6.3);
diff -r c440aa3e7ad1 -r 3d772f52080a artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffYearProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffYearProcessor.java	Fri Dec 20 18:52:09 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffYearProcessor.java	Mon Jan 13 11:52:22 2014 +0100
@@ -16,7 +16,6 @@
 import org.dive4elements.river.artifacts.model.FacetTypes;
 import org.dive4elements.river.artifacts.model.minfo.BedDiffYearResult;
 import org.dive4elements.river.exports.StyledSeriesBuilder;
-import org.dive4elements.river.exports.XYChartGenerator;
 import org.dive4elements.river.exports.DiagramGenerator;
 import org.dive4elements.river.jfree.StyledXYSeries;
 import org.dive4elements.river.themes.ThemeDocument;


More information about the Dive4elements-commits mailing list