comparison flys-backend/src/main/java/de/intevation/flys/importer/StaFileParser.java @ 192:f1fce41347ea

Added missing ImportGauge.getPeer() method flys-backend/trunk@1530 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 21 Mar 2011 10:27:14 +0000
parents bc3747a371cc
children 8d3533a03e10
comparison
equal deleted inserted replaced
191:c4fb5141ce11 192:f1fce41347ea
78 log.warn("second line is too short"); 78 log.warn("second line is too short");
79 return false; 79 return false;
80 } 80 }
81 81
82 try { 82 try {
83 gauge.setDatum( 83 gauge.setStation(
84 new BigDecimal(line.substring(29, 36).trim())); 84 new BigDecimal(line.substring(29, 36).trim()));
85 } 85 }
86 catch (NumberFormatException nfe) { 86 catch (NumberFormatException nfe) {
87 log.warn("parsing of the datum of the gauge failed"); 87 log.warn("parsing of the datum of the gauge failed");
88 return false; 88 return false;

http://dive4elements.wald.intevation.org