[Dive4elements-commits] [PATCH 2 of 4] WaterlevelExporter: Use new WQKmsResult to avoid parallel paths for Extrem- and Fixing-Result
Wald Commits
scm-commit at wald.intevation.org
Mon Nov 5 16:37:43 CET 2012
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1352129731 -3600
# Node ID 7e7587c905ab06a1fcd50e5834d38d0c0ded1aa9
# Parent 193f11d20bd82519b702b208b9b9b9e2abef64bc
WaterlevelExporter: Use new WQKmsResult to avoid parallel paths for Extrem- and Fixing-Result.
diff -r 193f11d20bd8 -r 7e7587c905ab flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java
--- 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());
}
}
}
More information about the Dive4elements-commits
mailing list