[Dive4elements-commits] [PATCH] StaFileParser: use correct substring for gauge name

Wald Commits scm-commit at wald.intevation.org
Fri Apr 12 20:17:15 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1365790631 -7200
# Node ID dc2daadbdd0c99fcd6e6b36746f81bea6014d3b1
# Parent  b85df73edef0632fa477430269f56165272e1fc4
StaFileParser: use correct substring for gauge name

diff -r b85df73edef0 -r dc2daadbdd0c flys-backend/src/main/java/de/intevation/flys/importer/parsers/StaFileParser.java
--- 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;
 


More information about the Dive4elements-commits mailing list