[PATCH 1 of 2] Use context constant for current km in fix delta w/t generator
Wald Commits
scm-commit at wald.intevation.org
Mon Oct 6 15:34:11 CEST 2014
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1412602040 -7200
# Node ID 592df582e462f8cce92cc2695b1f4a1344ee0028
# Parent 8dde253e04f73376e8cb75e031cfaa51c06b733c
Use context constant for current km in fix delta w/t generator.
diff -r 8dde253e04f7 -r 592df582e462 artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.java
--- 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 =
More information about the Dive4Elements-commits
mailing list