diff artifacts/src/main/java/org/dive4elements/river/artifacts/FlowVelocityMeasurementArtifact.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 8d5ca5175038
children 5e38e2924c07
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/FlowVelocityMeasurementArtifact.java	Fri Sep 05 12:54:58 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/FlowVelocityMeasurementArtifact.java	Fri Sep 05 12:58:17 2014 +0200
@@ -42,8 +42,8 @@
 extends      StaticD4EArtifact
 implements   FacetTypes
 {
-    /** The logger for this class. */
-    private static Logger logger =
+    /** The log for this class. */
+    private static Logger log =
         Logger.getLogger(FlowVelocityMeasurementArtifact.class);
 
     /** Artifact key name. */
@@ -75,7 +75,7 @@
      * Trivial Constructor.
      */
     public FlowVelocityMeasurementArtifact() {
-        logger.debug("FlowVelocityMeasurementArtifact.FlowVelocityMeasurementArtifact");
+        log.debug("FlowVelocityMeasurementArtifact.FlowVelocityMeasurementArtifact");
     }
 
 
@@ -115,12 +115,12 @@
         Document        data,
         List<Class>     loadFacets)
     {
-        logger.debug("FlowVelocityMeasurementArtifact.setup");
+        log.debug("FlowVelocityMeasurementArtifact.setup");
 
         state = new StaticState(STATIC_STATE_NAME);
 
-        if (logger.isDebugEnabled()) {
-            logger.debug(XMLUtils.toString(data));
+        if (log.isDebugEnabled()) {
+            log.debug(XMLUtils.toString(data));
         }
 
         List<Facet> fs = new ArrayList<Facet>();
@@ -136,7 +136,7 @@
                     FlowVelocityMeasurementFactory.getFlowVelocityMeasurement(
                         Integer.parseInt(code));
             String name = flowVelocityMeasurement.getDescription();
-            logger.debug ("datetime " + flowVelocityMeasurement.getDatetime());
+            log.debug ("datetime " + flowVelocityMeasurement.getDatetime());
             name += " - " + dateFormatter.format(
                 flowVelocityMeasurement.getDatetime());
 
@@ -231,7 +231,7 @@
         Object context,
         CallMeta meta)
     {
-        logger.debug("initialize");
+        log.debug("initialize");
     }
 
 

http://dive4elements.wald.intevation.org