changeset 8271:f98598cf798c

Purge some duplicated logging an misleading comments.
author "Tom Gottfried <tom@intevation.de>"
date Mon, 15 Sep 2014 15:00:48 +0200
parents 1cfeab5e9a60
children c57b0400ac98
files artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContext.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQMeasurementFacet.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQOutlierFacet.java artifacts/src/main/java/org/dive4elements/river/collections/D4EArtifactCollection.java
diffstat 4 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContext.java	Mon Sep 15 11:58:31 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContext.java	Mon Sep 15 15:00:48 2014 +0200
@@ -109,7 +109,7 @@
         GeneratorLookup.Item item = generators.getGenerator(name);
 
         if (item == null) {
-            log.warn("No generator class found for " + name);
+            log.error("No generator class found for " + name);
             return null;
         }
 
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQMeasurementFacet.java	Mon Sep 15 11:58:31 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQMeasurementFacet.java	Mon Sep 15 15:00:48 2014 +0200
@@ -23,7 +23,7 @@
 
 
 /**
- * Facet to show the outliers in a sq relation.
+ * Facet to show the measured values in a sq relation.
  *
  * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
  */
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQOutlierFacet.java	Mon Sep 15 11:58:31 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQOutlierFacet.java	Mon Sep 15 15:00:48 2014 +0200
@@ -24,7 +24,7 @@
 import org.apache.log4j.Logger;
 
 /**
- * Facet to show the curve in a sq relation.
+ * Facet to show the outliers in a sq relation.
  *
  * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
  */
--- a/artifacts/src/main/java/org/dive4elements/river/collections/D4EArtifactCollection.java	Mon Sep 15 11:58:31 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/collections/D4EArtifactCollection.java	Mon Sep 15 15:00:48 2014 +0200
@@ -388,7 +388,6 @@
         OutGenerator generator = RiverContext.getOutGenerator(context, key);
 
         if (generator == null) {
-            log.error("There is no generator specified for output: " + name);
             // TODO Throw an exception.
 
             return;

http://dive4elements.wald.intevation.org