Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/flys/importer/PegelGltParser.java @ 464:d37ccb04ab5d
Removed trailing whitespace.
flys-backend/trunk@1637 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 03 Apr 2011 10:41:27 +0000 |
parents | 5391c329168c |
children |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/PegelGltParser.java Wed Mar 30 13:43:59 2011 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/PegelGltParser.java Sun Apr 03 10:41:27 2011 +0000 @@ -65,15 +65,15 @@ String [] parts = line.split("\\s+"); if (parts.length < 4) { - log.warn("line " + in.getLineNumber() + log.warn("line " + in.getLineNumber() + " has not enough columns"); continue; } BigDecimal from = new BigDecimal(parts[0].replace(",", ".")); BigDecimal to = new BigDecimal(parts[1].replace(",", ".")); - if (from.compareTo(from) > 0) { - BigDecimal t = from; from = to; to = t; + if (from.compareTo(from) > 0) { + BigDecimal t = from; from = to; to = t; } ImportRange range = new ImportRange(from, to); File staFile = FileTools.repair(new File(parent, parts[2]));