Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/PegelGltParser.java @ 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 |
parents | bc3747a371cc |
children | d37ccb04ab5d |
comparison
equal
deleted
inserted
replaced
205:697d1faa8217 | 206:5391c329168c |
---|---|
70 continue; | 70 continue; |
71 } | 71 } |
72 | 72 |
73 BigDecimal from = new BigDecimal(parts[0].replace(",", ".")); | 73 BigDecimal from = new BigDecimal(parts[0].replace(",", ".")); |
74 BigDecimal to = new BigDecimal(parts[1].replace(",", ".")); | 74 BigDecimal to = new BigDecimal(parts[1].replace(",", ".")); |
75 if (to.compareTo(from) > 0) { | 75 if (from.compareTo(from) > 0) { |
76 BigDecimal t = from; from = to; to = t; | 76 BigDecimal t = from; from = to; to = t; |
77 } | 77 } |
78 ImportRange range = new ImportRange(from, to); | 78 ImportRange range = new ImportRange(from, to); |
79 File staFile = FileTools.repair(new File(parent, parts[2])); | 79 File staFile = FileTools.repair(new File(parent, parts[2])); |
80 File atFile = FileTools.repair(new File(parent, parts[3])); | 80 File atFile = FileTools.repair(new File(parent, parts[3])); |