changeset 5691:dc2daadbdd0c

StaFileParser: use correct substring for gauge name
author Tom Gottfried <tom@intevation.de>
date Fri, 12 Apr 2013 20:17:11 +0200
parents b85df73edef0
children d2c6d4ca6841
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/StaFileParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/StaFileParser.java	Fri Apr 12 19:52:15 2013 +0200
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/StaFileParser.java	Fri Apr 12 20:17:11 2013 +0200
@@ -64,7 +64,7 @@
                 return false;
             }
 
-            String gaugeName = line.substring(16, 37).trim();
+            String gaugeName = line.substring(16, 28).trim();
 
             Long gaugeNumber = null;
 

http://dive4elements.wald.intevation.org