changeset 4405:7e7587c905ab

WaterlevelExporter: Use new WQKmsResult to avoid parallel paths for Extrem- and Fixing-Result.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 05 Nov 2012 16:35:31 +0100
parents 193f11d20bd8
children bfb6464ecbb6
files flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java	Mon Nov 05 16:34:30 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java	Mon Nov 05 16:35:31 2012 +0100
@@ -36,7 +36,7 @@
 import de.intevation.flys.artifacts.model.WQCKms;
 import de.intevation.flys.artifacts.model.WQKms;
 import de.intevation.flys.artifacts.model.WKmsJRDataSource;
-import de.intevation.flys.artifacts.model.fixings.FixRealizingResult;
+import de.intevation.flys.artifacts.model.WQKmsResult;
 import de.intevation.flys.artifacts.resources.Resources;
 
 import de.intevation.flys.utils.FLYSUtils;
@@ -163,8 +163,8 @@
             if (d instanceof WQKms []) {
                 data.add((WQKms [])d);
             }
-            else if (d instanceof FixRealizingResult) {
-                data.add(((FixRealizingResult) d).getWQKms());
+            else if (d instanceof WQKmsResult) {
+                data.add(((WQKmsResult) d).getWQKms());
             }
         }
     }

http://dive4elements.wald.intevation.org