changeset 4781:e77b461fa360

ImportRiver: Bail out if skip* parameters were given.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 08 Jan 2013 12:26:29 +0100
parents 562f631aab86
children 696285cef182
files flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java	Tue Jan 08 12:25:51 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java	Tue Jan 08 12:26:29 2013 +0100
@@ -954,6 +954,7 @@
     public void parseW80s() {
         if (Config.INSTANCE.skipW80s()) {
             log.info("skip parsing W80s");
+            return;
         }
         W80Parser parser = new W80Parser();
         File riverDir = wstFile
@@ -969,6 +970,7 @@
     public void parseDA50s() {
         if (Config.INSTANCE.skipDA50s()) {
             log.info("skip parsing DA50s");
+            return;
         }
         else log.warn("DA50 parsing not yet implemented");
     }

http://dive4elements.wald.intevation.org