changeset 5956:259ed81d47e9

merge
author Tom Gottfried <tom.gottfried@intevation.de>
date Wed, 08 May 2013 18:23:50 +0200
parents b819209732a0 (diff) 24dc13ac8e6c (current diff)
children 7b0db743f074
files gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Assertion.java gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Namespaces.java gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Signature.java gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/User.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/StaFileParser.java	Wed May 08 17:57:51 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/StaFileParser.java	Wed May 08 18:23:50 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;
 
@@ -124,7 +124,7 @@
                     gaugeNumber = Long.parseLong(gaugeNumberString);
                 }
                 catch (NumberFormatException nfe) {
-                    log.warn("STA: '" + gaugeNumberString +
+                    log.warn("STA: gauge number '" + gaugeNumberString +
                         "' is not a valid long number.");
                 }
             }

http://dive4elements.wald.intevation.org