Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java @ 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 | b37cd2db9659 |
children | 30b1ddadf275 |
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());