[PATCH 3 of 3] issue1378: Handle static_wqkms.w as annotations

Wald Commits scm-commit at wald.intevation.org
Fri Aug 9 08:51:52 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1376030050 -7200
# Node ID 30507f19cbe785f0fb2aa851b48d4837cfab6236
# Parent  7a02e613a61c99111399bdee6e735d6db6bc2621
issue1378: Handle static_wqkms.w as annotations.

diff -r 7a02e613a61c -r 30507f19cbe7 artifacts/src/main/java/org/dive4elements/river/exports/ComputedDischargeCurveGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/ComputedDischargeCurveGenerator.java	Fri Aug 09 08:33:38 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/ComputedDischargeCurveGenerator.java	Fri Aug 09 08:34:10 2013 +0200
@@ -177,7 +177,9 @@
                 mainValues,
                 artifactFacet, attr, visible);
         }
-        else if (name.equals(STATIC_WKMS_INTERPOL) || name.equals(HEIGHTMARKS_POINTS)) {
+        else if (STATIC_WKMS_INTERPOL.equals(name) ||
+            HEIGHTMARKS_POINTS.equals(name) ||
+            STATIC_WQKMS_W.equals(name)) {
             doWAnnotations(
                 artifactFacet.getData(context),
                 artifactFacet,


More information about the Dive4elements-commits mailing list