diff artifacts/src/main/java/org/dive4elements/river/artifacts/services/CrossSectionKMService.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 af13ceeba52a
children 0a5239a1e46e
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/services/CrossSectionKMService.java	Fri Sep 05 12:54:58 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/services/CrossSectionKMService.java	Fri Sep 05 12:58:17 2014 +0200
@@ -59,7 +59,7 @@
 public class CrossSectionKMService
 extends      D4EService
 {
-    private static Logger logger =
+    private static Logger log =
         Logger.getLogger(CrossSectionKMService.class);
 
     public static final String CACHE_NAME = "cross-section-kms";
@@ -79,7 +79,7 @@
         GlobalContext globalContext,
         CallMeta      callMeta
     ) {
-        logger.debug("CrossSectionKMService.doProcess");
+        log.debug("CrossSectionKMService.doProcess");
 
         NodeList crossSectionNodes =
             data.getElementsByTagName("art:cross-section");
@@ -96,7 +96,7 @@
             String neighborsString = crossSectionElement.getAttribute("n");
 
             if (idString.length() == 0 || kmString.length() == 0) {
-                logger.debug("missing attributes in cross-section element");
+                log.debug("missing attributes in cross-section element");
                 continue;
             }
 
@@ -113,14 +113,14 @@
                 }
             }
             catch (NumberFormatException nfe) {
-                logger.debug("converting number failed", nfe);
+                log.debug("converting number failed", nfe);
                 continue;
             }
 
             NavigableMap<Double, Integer> map = getKms(crossSectionId);
 
             if (map == null) {
-                logger.debug("cannot find cross section " + crossSectionId);
+                log.debug("cannot find cross section " + crossSectionId);
                 continue;
             }
 

http://dive4elements.wald.intevation.org