Mercurial > dive4elements > river
changeset 5954:f944cc25484c
STA parser: Spaces after gauge name given in spec are sometimes used for gauge name, so parse them
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Wed, 08 May 2013 18:21:27 +0200 |
parents | c7951390fd58 |
children | b819209732a0 |
files | backend/src/main/java/org/dive4elements/river/importer/parsers/StaFileParser.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/StaFileParser.java Wed May 08 17:52:54 2013 +0200 +++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/StaFileParser.java Wed May 08 18:21:27 2013 +0200 @@ -113,7 +113,7 @@ return false; } - String gaugeName = line.substring(16, 28).trim(); + String gaugeName = line.substring(16, 35).trim(); Long gaugeNumber = null;