changeset 8381:592df582e462

Use context constant for current km in fix delta w/t generator.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 06 Oct 2014 15:27:20 +0200
parents 8dde253e04f7
children 15f4e4785288
files artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.java	Mon Oct 06 11:21:42 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.java	Mon Oct 06 15:27:20 2014 +0200
@@ -43,6 +43,7 @@
 
 import gnu.trove.TLongHashSet;
 
+import static org.dive4elements.river.exports.injector.InjectorConstants.CURRENT_KM;
 
 /**
  * Generator for Delta W(t) charts.
@@ -471,7 +472,7 @@
             log.debug("currentKm = " + currentKm);
         }
 
-        context.putContextValue("currentKm", currentKm);
+        context.putContextValue(CURRENT_KM, currentKm);
 
         // XXX: This looks hackish!
         StyledValueMarker marker =

http://dive4elements.wald.intevation.org