changeset 5570:91a2ddffea47

Write filename as description instead of the header meta line in flow velocity measurements.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 05 Apr 2013 11:18:16 +0200
parents 2a058dff9666
children d0c8cfb493f5
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/FlowVelocityMeasurementParser.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/FlowVelocityMeasurementParser.java	Fri Apr 05 09:56:02 2013 +0200
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/FlowVelocityMeasurementParser.java	Fri Apr 05 11:18:16 2013 +0200
@@ -48,6 +48,7 @@
 
     @Override
     protected void finish() {
+        current.setDescription(fileName);
         measurements.add(current);
     }
 
@@ -64,8 +65,6 @@
 
 
     public void handleMetaLine(String line) {
-        line = line.replace(";", "");
-        current.setDescription(line);
     }
 
 

http://dive4elements.wald.intevation.org