changeset 5795:202a73ce6704

WST-Parser: Avoid trying to set MIN_RANGE when actually no stations are given
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 23 Apr 2013 17:30:20 +0200
parents af2aa716152f
children 53cff50918b1
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/WstParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/WstParser.java	Tue Apr 23 17:14:07 2013 +0200
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/WstParser.java	Tue Apr 23 17:30:20 2013 +0200
@@ -378,7 +378,7 @@
     ) {
         log.debug("addInterval: " + from + " " + to);
 
-        if (values == null || from == MAX_RANGE) {
+        if (values == null || from == MAX_RANGE || from == MIN_RANGE) {
             return;
         }
 

http://dive4elements.wald.intevation.org