[PATCH 40 of 45] Do not get any wst values just to get the name of the differences for export

Wald Commits scm-commit at wald.intevation.org
Tue Mar 10 17:06:08 CET 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1424962408 -3600
# Node ID 1655588ed479dc3e637c8d9d69a4ff680a28d051
# Parent  26c7aa469bfcd7cfec11a01ccceb78c90811bb40
Do not get any wst values just to get the name of the differences for export.

diff -r 26c7aa469bfc -r 1655588ed479 artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java
--- a/artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java	Thu Feb 26 15:52:04 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java	Thu Feb 26 15:53:28 2015 +0100
@@ -742,9 +742,9 @@
                 // e.g.:
                 // 42537f1e-3522-42ef-8968-635b03d8e9c6;longitudinal_section.w;1
                 WKms minuendWKms = wState.getWKms(StringUtil.unbracket(datas[i+0]),
-                    context);
+                    context, 0, 0);
                 WKms subtrahendWKms = wState.getWKms(StringUtil.unbracket(datas[i+1]),
-                    context);
+                    context, 0, 0);
                 if (minuendWKms != null && subtrahendWKms != null) {
                     diffs += StringUtil.wWrap(minuendWKms.getName())
                         + " - " + StringUtil.wWrap(subtrahendWKms.getName());


More information about the Dive4Elements-commits mailing list