diff artifacts/src/main/java/org/dive4elements/river/artifacts/states/RangeState.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 a0078e5e3b39
children 1116079e6624
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/RangeState.java	Fri Sep 05 12:54:58 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/RangeState.java	Fri Sep 05 12:58:17 2014 +0200
@@ -23,8 +23,8 @@
  */
 public abstract class RangeState extends DefaultState {
 
-    /** The logger that is used in this class. */
-    private Logger logger = Logger.getLogger(RangeState.class);
+    /** The log that is used in this class. */
+    private Logger log = Logger.getLogger(RangeState.class);
 
 
     public RangeState() {
@@ -39,12 +39,12 @@
     throws IllegalArgumentException
     {
         if (from < fromValid) {
-            logger.error(
+            log.error(
                 "Invalid 'from'. " + from + " is smaller than " + fromValid);
             throw new IllegalArgumentException("error_feed_from_out_of_range");
         }
         else if (to > toValid) {
-            logger.error(
+            log.error(
                 "Invalid 'to'. " + to + " is bigger than " + toValid);
             throw new IllegalArgumentException("error_feed_to_out_of_range");
         }
@@ -69,7 +69,7 @@
         double from,      double to,      double step)
     throws IllegalArgumentException
     {
-        logger.debug("RangeState.validateRange");
+        log.debug("RangeState.validateRange");
 
         // XXX The step width is not validated at the moment!
         return validateBounds(fromValid, toValid, from, to);

http://dive4elements.wald.intevation.org