changeset 7585:67e87c2d3748

issue1597: Re-enable w/q points in DischargeProcessor. It's yet unclear why it was disabled.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 19 Nov 2013 11:30:50 +0100
parents c7638c971574
children 811dd7a3bdb9
files artifacts/src/main/java/org/dive4elements/river/exports/process/DischargeProcessor.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)

http://dive4elements.wald.intevation.org