diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/MainValuesQFacet.java @ 8202:e4606eae8ea5

sed src/**/*.java 's/logger/log/g'
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 05 Sep 2014 12:58:17 +0200
parents 4de4b19b6be6
children 27d42c9ee367
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/MainValuesQFacet.java	Fri Sep 05 12:54:58 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/MainValuesQFacet.java	Fri Sep 05 12:58:17 2014 +0200
@@ -35,8 +35,8 @@
 extends      DefaultFacet
 implements   FacetTypes {
 
-    /** Own logger. */
-    private static Logger logger = Logger.getLogger(MainValuesQFacet.class);
+    /** Own log. */
+    private static Logger log = Logger.getLogger(MainValuesQFacet.class);
 
     /** Do we want MainValues at Gauge (not interpolated)? */
     protected boolean isAtGauge;
@@ -63,8 +63,8 @@
         if (day != null) {
             annotation.setHitPoint(day.floatValue());
         }
-        else if (logger.isDebugEnabled()) {
-            logger.debug("StickyAnnotation does not hit wqday curve: " + q);
+        else if (log.isDebugEnabled()) {
+            log.debug("StickyAnnotation does not hit wqday curve: " + q);
         }
     }
 
@@ -89,7 +89,7 @@
         List<DataProvider> providers = context.
             getDataProvider(DurationCurveFacet.BB_DURATIONCURVE);
         if (providers.size() < 1) {
-            logger.warn("Could not find durationcurve data provider.");
+            log.warn("Could not find durationcurve data provider.");
             // Do we have a current km in context?
             // If so, we are likely fetching data for a navigable
             // diagram (i.e. in fixation branch).
@@ -113,7 +113,7 @@
         if (this.name.equals(DURATION_MAINVALUES_Q)) {
             for (NamedDouble q: qs) {
                 if (Double.isNaN(q.getValue())) {
-                    logger.warn("NaN MainValue " + q.getName());
+                    log.warn("NaN MainValue " + q.getName());
                     continue;
                 }
                 annotation =
@@ -131,7 +131,7 @@
         else {
             for (NamedDouble q: qs) {
                 if (Double.isNaN(q.getValue())) {
-                    logger.warn("NaN MainValue " + q.getName());
+                    log.warn("NaN MainValue " + q.getName());
                     continue;
                 }
                 annotation =

http://dive4elements.wald.intevation.org