[PATCH 2 of 2] Exchanged left and right side for waterlevel/sounding selection
Wald Commits
scm-commit at wald.intevation.org
Wed Jul 4 12:01:06 CEST 2018
# HG changeset patch
# User gernotbelger
# Date 1530698457 -7200
# Node ID 5c34fe17ef15ebee5e5ce6187771a65c4a907d33
# Parent e3c2ae1887e81b405c995772f7addf91f120cd33
Exchanged left and right side for waterlevel/sounding selection
diff -r e3c2ae1887e8 -r 5c34fe17ef15 artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthAccess.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthAccess.java Wed Jul 04 12:00:51 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthAccess.java Wed Jul 04 12:00:57 2018 +0200
@@ -52,7 +52,6 @@
return Collections.emptyList();
}
- final Collection<WstSoundingIdPair> pairs = WstSoundingIdPair.parsePairs(diffids);
- return pairs;
+ return WstSoundingIdPair.parsePairs(diffids);
}
}
\ No newline at end of file
diff -r e3c2ae1887e8 -r 5c34fe17ef15 artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/WstSoundingIdPair.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/WstSoundingIdPair.java Wed Jul 04 12:00:51 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/WstSoundingIdPair.java Wed Jul 04 12:00:57 2018 +0200
@@ -45,10 +45,10 @@
final List<WstSoundingIdPair> diffPairs = new ArrayList<>(datas.length);
for (int i = 0; i < datas.length; i += 2) {
- final String leftId = StringUtil.unbracket(datas[i]);
- final String rightId = StringUtil.unbracket(datas[i + 1]);
+ final String soundingId = StringUtil.unbracket(datas[i]);
+ final String wstId = StringUtil.unbracket(datas[i + 1]);
- diffPairs.add(new WstSoundingIdPair(leftId, rightId));
+ diffPairs.add(new WstSoundingIdPair(wstId, soundingId));
}
return Collections.unmodifiableList(diffPairs);
More information about the Dive4Elements-commits
mailing list