Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
8569:26c7aa469bfc | 8570:1655588ed479 |
---|---|
740 String diffs = ""; | 740 String diffs = ""; |
741 for(int i = 0; i < datas.length; i+=2) { | 741 for(int i = 0; i < datas.length; i+=2) { |
742 // e.g.: | 742 // e.g.: |
743 // 42537f1e-3522-42ef-8968-635b03d8e9c6;longitudinal_section.w;1 | 743 // 42537f1e-3522-42ef-8968-635b03d8e9c6;longitudinal_section.w;1 |
744 WKms minuendWKms = wState.getWKms(StringUtil.unbracket(datas[i+0]), | 744 WKms minuendWKms = wState.getWKms(StringUtil.unbracket(datas[i+0]), |
745 context); | 745 context, 0, 0); |
746 WKms subtrahendWKms = wState.getWKms(StringUtil.unbracket(datas[i+1]), | 746 WKms subtrahendWKms = wState.getWKms(StringUtil.unbracket(datas[i+1]), |
747 context); | 747 context, 0, 0); |
748 if (minuendWKms != null && subtrahendWKms != null) { | 748 if (minuendWKms != null && subtrahendWKms != null) { |
749 diffs += StringUtil.wWrap(minuendWKms.getName()) | 749 diffs += StringUtil.wWrap(minuendWKms.getName()) |
750 + " - " + StringUtil.wWrap(subtrahendWKms.getName()); | 750 + " - " + StringUtil.wWrap(subtrahendWKms.getName()); |
751 } | 751 } |
752 diffs += ";\n"; | 752 diffs += ";\n"; |