[Dive4elements-commits] [PATCH 3 of 3] ImportRiver: Store fixations also if only "waterlevels" were parsed

Wald Commits scm-commit at wald.intevation.org
Wed Feb 20 12:08:35 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1361358926 -3600
# Node ID 2847371be7fe28c849174764f9b90b45b8022744
# Parent  e6dc908297e81a5b0c6db0a5b68fecd322d0add6
ImportRiver: Store fixations also if only "waterlevels" were parsed.

diff -r e6dc908297e8 -r 2847371be7fe flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java	Wed Feb 20 12:15:01 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java	Wed Feb 20 12:15:26 2013 +0100
@@ -1122,8 +1122,8 @@
     }
 
     public void storeFixations() {
-        if (!Config.INSTANCE.skipFixations()) {
-            log.info("store fixation wsts");
+        if (!Config.INSTANCE.skipFixations() || !Config.INSTANCE.skipWaterlevels()) {
+            log.info("store fixation wsts and/or csvs");
             River river = getPeer();
             for (ImportWst wst: fixations) {
                 log.debug("name: " + wst.getDescription());


More information about the Dive4elements-commits mailing list