[Dive4elements-commits] [PATCH 1 of 3] STA parser: Spaces after gauge name given in spec are sometimes used for gauge name, so parse them
Wald Commits
scm-commit at wald.intevation.org
Wed May 8 18:23:54 CEST 2013
# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1368030087 -7200
# Node ID f944cc25484c82e52742ee0fbbd6afd0d98b8fb3
# Parent c7951390fd5862ba12e9a96587a1c080c859c707
STA parser: Spaces after gauge name given in spec are sometimes used for gauge name, so parse them
diff -r c7951390fd58 -r f944cc25484c backend/src/main/java/org/dive4elements/river/importer/parsers/StaFileParser.java
--- 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;
More information about the Dive4elements-commits
mailing list