diff gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java @ 429:bed9735adf84

Finished preprocessing data for interpolation in verticalcrosssection charts.ß gnv-artifacts/trunk@477 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 22 Dec 2009 17:19:10 +0000
parents 6491000407dd
children 8975de9d7483
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java	Tue Dec 22 13:18:07 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java	Tue Dec 22 17:19:10 2009 +0000
@@ -353,12 +353,14 @@
             }
             else if (outputMode.equalsIgnoreCase("csv")) {
                 log.debug("CSV-File will be generated.");
-                Collection<Result> chartResult = this.getChartResult(uuid);
+                Collection<Result> chartResult =
+                    (Collection<Result>) getChartResult(uuid);
                 this.createCSV(outputStream, chartResult);
             } else if (outputMode.equalsIgnoreCase("statistics")) {
                 log.debug("Statistics will be generated.");
                 Statistics s = getStatisticsGenerator();
-                Collection<Result> chartResult = this.getChartResult(uuid);
+                Collection<Result> chartResult =
+                    (Collection<Result>) getChartResult(uuid);
                 Collection<KeyValueDescibeData> parameters = 
                                                 this.getParameters(uuid);
                 Collection<KeyValueDescibeData> measurements = 
@@ -629,7 +631,7 @@
             parameters,
             measurements,
             dates,
-            getChartResult(uuid),
+            (Collection) getChartResult(uuid),
             locale,
             uuid,
             linesVisible,
@@ -684,7 +686,7 @@
             parameters,
             measurements,
             dates,
-            getChartResult(uuid),
+            (Collection) getChartResult(uuid),
             locale,
             uuid,
             linesVisible,
@@ -713,7 +715,7 @@
         Collection   parameters,
         Collection   measurements,
         Collection   dates,
-        Collection   result,
+        Object       result,
         Locale       locale,
         String       uuid,
         boolean      linesVisible,
@@ -736,7 +738,7 @@
             parameters,
             measurements,
             dates,
-            result,
+            (Collection)result,
             timeGapDefinitions,
             locale,
             linesVisible,

http://dive4elements.wald.intevation.org