[PATCH] Mini-Bugfix Vegetationszonen-Export

Wald Commits scm-commit at wald.intevation.org
Mon May 28 16:40:17 CEST 2018


# HG changeset patch
# User gernotbelger
# Date 1527518396 -7200
# Node ID 2c6aba003112f95723eab6eb394815de4ddedbda
# Parent  2a1dcee5e54ac90f7eb288d9815d396efec02e5a
Mini-Bugfix Vegetationszonen-Export

diff -r 2a1dcee5e54a -r 2c6aba003112 artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/commons/UInfoResultType.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/commons/UInfoResultType.java	Mon May 28 16:15:14 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/commons/UInfoResultType.java	Mon May 28 16:39:56 2018 +0200
@@ -110,9 +110,8 @@
 
         @Override
         public String exportValue(final CallContext context, final Object value) {
-            return exportStringValue(value);
-            // final double doubleValue = asDouble(value);
-            // return exportDoubleValue(context, doubleValue);
+            final double doubleValue = asDouble(value);
+            return exportDoubleValue(context, doubleValue);
         }
 
         @Override
@@ -128,9 +127,9 @@
 
         @Override
         public String exportValue(final CallContext context, final Object value) {
-            return exportStringValue(value);
-            // final double doubleValue = asDouble(value);
-            // return exportDoubleValue(context, doubleValue);
+
+            final double doubleValue = asDouble(value);
+            return exportDoubleValue(context, doubleValue);
         }
 
         @Override


More information about the Dive4Elements-commits mailing list