diff artifacts/src/main/java/org/dive4elements/river/artifacts/FlowVelocityModelArtifact.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/FlowVelocityModelArtifact.java	Fri Sep 05 12:54:58 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/FlowVelocityModelArtifact.java	Fri Sep 05 12:58:17 2014 +0200
@@ -40,8 +40,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(FlowVelocityModelArtifact.class);
 
     /** Artifact key name. */
@@ -79,7 +79,7 @@
      * Trivial Constructor.
      */
     public FlowVelocityModelArtifact() {
-        logger.debug("FlowVelocityModelArtifact.FlowVelocityModelArtifact");
+        log.debug("FlowVelocityModelArtifact.FlowVelocityModelArtifact");
     }
 
 
@@ -91,7 +91,7 @@
 
 
     private Object getFlowVelocity() {
-        logger.debug("FlowVelocityModelArtifact.getFlowVelocity");
+        log.debug("FlowVelocityModelArtifact.getFlowVelocity");
         Integer id = getDataAsInteger(DATA_ID);
 
         FlowVelocityModel model = FlowVelocityModel.getModel(id);
@@ -144,11 +144,11 @@
         Document        data,
         List<Class>     loadFacets)
     {
-        logger.debug("FlowVelocityModelArtifact.setup");
+        log.debug("FlowVelocityModelArtifact.setup");
 
         state = newState();
-        if (logger.isDebugEnabled()) {
-            logger.debug(XMLUtils.toString(data));
+        if (log.isDebugEnabled()) {
+            log.debug(XMLUtils.toString(data));
         }
 
         List<Facet> fs = new ArrayList<Facet>();
@@ -198,7 +198,7 @@
             addStringData(DATA_ID, code);
         }
         else {
-            logger.error("No id given.");
+            log.error("No id given.");
         }
 
         spawnState();
@@ -264,7 +264,7 @@
         Object context,
         CallMeta meta)
     {
-        logger.debug("FlowVelocityModelArtifact.initialize");
+        log.debug("FlowVelocityModelArtifact.initialize");
     }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org