changeset 4840:8cd2f20b1d8c

Merged
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 23 Jan 2013 13:20:39 +0100
parents 61ebb6fb2ac4 (diff) ac9a3d9576b4 (current diff)
children ad0990a82ab8
files
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/Calculation4Access.java	Wed Jan 23 11:15:35 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/Calculation4Access.java	Wed Jan 23 13:20:39 2013 +0100
@@ -39,6 +39,9 @@
                 log.warn("no wq_values given");
                 segments = Collections.<Segment>emptyList();
             }
+            else {
+                segments = Segment.parseSegments(input);
+            }
         }
         return segments;
     }
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java	Wed Jan 23 11:15:35 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java	Wed Jan 23 13:20:39 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();

http://dive4elements.wald.intevation.org