Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/WstParser.java @ 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 | b223be96758c |
children |
comparison
equal
deleted
inserted
replaced
5794:af2aa716152f | 5795:202a73ce6704 |
---|---|
376 BigDecimal to, | 376 BigDecimal to, |
377 BigDecimal [] values | 377 BigDecimal [] values |
378 ) { | 378 ) { |
379 log.debug("addInterval: " + from + " " + to); | 379 log.debug("addInterval: " + from + " " + to); |
380 | 380 |
381 if (values == null || from == MAX_RANGE) { | 381 if (values == null || from == MAX_RANGE || from == MIN_RANGE) { |
382 return; | 382 return; |
383 } | 383 } |
384 | 384 |
385 ImportRange range = new ImportRange(from, to); | 385 ImportRange range = new ImportRange(from, to); |
386 | 386 |