[Dive4elements-commits] [PATCH 1 of 2] Fixed segments creation in calculation 4
Wald Commits
scm-commit at wald.intevation.org
Wed Jan 23 13:20:45 CET 2013
# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1358941969 -3600
# Node ID 61ebb6fb2ac4fd04694bdd55d13307d060785754
# Parent 01e82da3f9194bda064fc23649f569c710f0f31b
Fixed segments creation in calculation 4.
diff -r 01e82da3f919 -r 61ebb6fb2ac4 flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/Calculation4Access.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/Calculation4Access.java Wed Jan 23 11:14:22 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/Calculation4Access.java Wed Jan 23 12:52:49 2013 +0100
@@ -39,6 +39,9 @@
log.warn("no wq_values given");
segments = Collections.<Segment>emptyList();
}
+ else {
+ segments = Segment.parseSegments(input);
+ }
}
return segments;
}
diff -r 01e82da3f919 -r 61ebb6fb2ac4 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java Wed Jan 23 11:14:22 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java Wed Jan 23 12:52:49 2013 +0100
@@ -40,6 +40,7 @@
}
public Calculation4(Calculation4Access access) {
+ logger.debug("Calculation4Access.cnst");
String river = access.getRiver();
List<Segment> segments = access.getSegments();
double [] range = access.getFromToStep();
More information about the Dive4elements-commits
mailing list