changeset 5051:2847371be7fe

ImportRiver: Store fixations also if only "waterlevels" were parsed.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 20 Feb 2013 12:15:26 +0100
parents e6dc908297e8
children 3b974a24a8e1 a911d8f91216
files flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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());

http://dive4elements.wald.intevation.org