Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java @ 7252:c894b7b45c4c
Replaced some tabs by spaces. Guys, please configure your editors not to insert tabs!
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 05 Oct 2013 12:48:44 +0200 |
parents | 8b8a10805c02 |
children | 2ce7bacc940f |
comparison
equal
deleted
inserted
replaced
7251:3823b8bd6bfd | 7252:c894b7b45c4c |
---|---|
96 ImportBedHeight importBedHeight, | 96 ImportBedHeight importBedHeight, |
97 String line | 97 String line |
98 ); | 98 ); |
99 | 99 |
100 | 100 |
101 | |
102 public BedHeightParser() { | 101 public BedHeightParser() { |
103 this.bedHeights = new ArrayList<ImportBedHeight>(); | 102 this.bedHeights = new ArrayList<ImportBedHeight>(); |
104 } | 103 } |
105 | 104 |
106 | 105 |
251 obj.setSoundingWidth(Integer.valueOf(tmp)); | 250 obj.setSoundingWidth(Integer.valueOf(tmp)); |
252 return true; | 251 return true; |
253 } | 252 } |
254 catch (NumberFormatException e) { | 253 catch (NumberFormatException e) { |
255 log.warn("BHP: Could not parse sounding width in line '" + line + | 254 log.warn("BHP: Could not parse sounding width in line '" + line + |
256 "'. -> Set default value '0'"); | 255 "'. -> Set default value '0'"); |
257 } | 256 } |
258 obj.setSoundingWidth(0); | 257 obj.setSoundingWidth(0); |
259 return true; | 258 return true; |
260 } | 259 } |
261 | 260 |
262 return false; | 261 return false; |
263 } | 262 } |
264 | 263 |