changeset 8570:1655588ed479

Do not get any wst values just to get the name of the differences for export.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 26 Feb 2015 15:53:28 +0100
parents 26c7aa469bfc
children bc803f4b6784
files artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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());

http://dive4elements.wald.intevation.org