[PATCH 2 of 3] issue1597: Re-enable w/q points in DischargeProcessor. It's yet unclear why it was disabled
Wald Commits
scm-commit at wald.intevation.org
Wed Nov 20 10:02:06 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1384857050 -3600
# Node ID 67e87c2d3748f88d09dfb277f128c14a73fb07e0
# Parent c7638c9715740ce8fb693858446b9d5a9448eb3f
issue1597: Re-enable w/q points in DischargeProcessor. It's yet unclear why it was disabled.
diff -r c7638c971574 -r 67e87c2d3748 artifacts/src/main/java/org/dive4elements/river/exports/process/DischargeProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/DischargeProcessor.java Tue Nov 19 10:46:24 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/DischargeProcessor.java Tue Nov 19 11:30:50 2013 +0100
@@ -65,7 +65,7 @@
) {
CallContext context = generator.getCallContext();
Object data = bundle.getData(context);
- if (false && data instanceof WQKms) {
+ if (data instanceof WQKms) {
doWQKmsPointOut(
generator, (WQKms) data, bundle, theme, visible, axisIndex);
return;
@@ -91,8 +91,8 @@
/** True if this processor knows how to deal with facetType. */
@Override
public boolean canHandle(String facetType) {
- return /*STATIC_WQKMS_W.equals(facetType)
- ||*/ COMPUTED_DISCHARGE_MAINVALUES_Q.equals(facetType)
+ return STATIC_WQKMS_W.equals(facetType)
+ || COMPUTED_DISCHARGE_MAINVALUES_Q.equals(facetType)
|| MAINVALUES_Q.equals(facetType)
|| COMPUTED_DISCHARGE_MAINVALUES_W.equals(facetType)
|| MAINVALUES_W.equals(facetType)
More information about the Dive4elements-commits
mailing list