changeset 6790:30507f19cbe7

issue1378: Handle static_wqkms.w as annotations.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 09 Aug 2013 08:34:10 +0200
parents 7a02e613a61c
children 0747ca95ad6e
files artifacts/src/main/java/org/dive4elements/river/exports/ComputedDischargeCurveGenerator.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,

http://dive4elements.wald.intevation.org