changeset 4827:15e55fdbb402

RangeAccess: Doc and debug.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 21 Jan 2013 17:34:56 +0100
parents a3dc382bc1ca
children cb4cc6414447
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/RangeAccess.java
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/RangeAccess.java	Mon Jan 21 17:26:08 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/RangeAccess.java	Mon Jan 21 17:34:56 2013 +0100
@@ -28,21 +28,30 @@
     }
 
 
-    /** Return ld_from data. */
+    /** Return ld_from data (in km). */
     public double getFrom() {
         if (from == null) {
             from = getDouble("ld_from");
         }
 
+        if (logger.isDebugEnabled()) {
+            logger.debug("from: '" + from + "'");
+        }
+
         return from.doubleValue();
     }
 
 
-    /** Return ld_to data. */
+    /** Return ld_to data (in km). */
     public double getTo() {
         if (to == null) {
             to = getDouble("ld_to");
         }
+
+        if (logger.isDebugEnabled()) {
+            logger.debug("to: '" + to + "'");
+        }
+
         return to.doubleValue();
     }
 

http://dive4elements.wald.intevation.org