[PATCH 1 of 6] issue1020: Added pointers as comments in code
Wald Commits
scm-commit at wald.intevation.org
Thu Nov 14 12:14:52 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1384407851 -3600
# Node ID 3cbf8bab1a0fbdbc8ba25ffadffa436f0a11f95e
# Parent f01379dfeab4e1b0265bfe45d9310958a62ddca4
issue1020: Added pointers as comments in code.
diff -r f01379dfeab4 -r 3cbf8bab1a0f artifacts/src/main/java/org/dive4elements/river/artifacts/states/FloodMapState.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/FloodMapState.java Wed Nov 13 12:00:21 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/FloodMapState.java Thu Nov 14 06:44:11 2013 +0100
@@ -933,6 +933,9 @@
}
catch (NumberFormatException nfe) { /* do nothing */ }
+ // issue1020: Other kinds of artifacts might calculate other stuff than
+ // WQKms or provide data in more static manner (shiver).
+
D4EArtifact src = otherArtifact != null
? RiverUtils.getArtifact(otherArtifact, cc)
: flys;
@@ -984,6 +987,8 @@
writeWspTag = false;
}
+ // TODO issue1020: data might be something different than wqkms,
+ // abstract this here a little away.
for (int i = 0, num = data.size(); i < num; i++) {
data.get(i, buf);
writer.add(buf);
More information about the Dive4elements-commits
mailing list