Mercurial > dive4elements > river
changeset 206:5391c329168c
Fixed swap of operands in importer.
flys-backend/trunk@1589 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 28 Mar 2011 14:32:42 +0000 (2011-03-28) |
parents | 697d1faa8217 |
children | 2b745b5e731c 24e356cf9f6c |
files | flys-backend/src/main/java/de/intevation/flys/importer/PegelGltParser.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/PegelGltParser.java Mon Mar 28 09:46:24 2011 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/PegelGltParser.java Mon Mar 28 14:32:42 2011 +0000 @@ -72,7 +72,7 @@ BigDecimal from = new BigDecimal(parts[0].replace(",", ".")); BigDecimal to = new BigDecimal(parts[1].replace(",", ".")); - if (to.compareTo(from) > 0) { + if (from.compareTo(from) > 0) { BigDecimal t = from; from = to; to = t; } ImportRange range = new ImportRange(from, to);