[Dive4elements-commits] [PATCH 06 of 12] Remove some accidental debug output

Wald Commits scm-commit at wald.intevation.org
Wed Jun 12 17:47:19 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1371046809 -7200
# Node ID cb045ccba9b2c49224f0f9d6612aac79319fe872
# Parent  40c77429319d34b4500986d86e229204608a6e48
Remove some accidental debug output

diff -r 40c77429319d -r cb045ccba9b2 artifacts/src/main/java/org/dive4elements/river/exports/ComputedDischargeCurveExporter.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/ComputedDischargeCurveExporter.java	Wed Jun 12 16:10:56 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/ComputedDischargeCurveExporter.java	Wed Jun 12 16:20:09 2013 +0200
@@ -112,7 +112,6 @@
                 d.getClass().getName());
             return;
         }
-        logger.debug("Andre 1");
         if (referenceWQ != null) {
             wUnit = referenceWQ.getWUnit();
             D4EArtifact arti = (D4EArtifact)master;
@@ -125,7 +124,6 @@
             Gauge gauge = river.determineGaugeByPosition(kms[0]);
             logger.debug("Kms 0: " + kms[0]);
             if (Math.abs(kms[0] - gauge.getStation().doubleValue()) < 1e-4) {
-                logger.debug("At Gauge");
                 gaugeName = gauge.getName();
                 gaugeDatum = gauge.getDatum().doubleValue();
 
@@ -141,7 +139,6 @@
                 }
                 data = newData; // All hail the garbage collector
                 wUnit = "cm";
-                logger.debug("Setting gauge / datum to: " + gaugeName + " / " + gaugeDatum);
             } else {
                 gaugeName = "";
                 gaugeDatum = Double.NaN;


More information about the Dive4elements-commits mailing list