changeset 7880:a575eaae7899

PorosityParser: Strip file extension for description.
author Tom Gottfried <tom@intevation.de>
date Fri, 16 May 2014 13:14:52 +0200
parents 22acd6938ef0
children f9e3ef5d38d0
files backend/src/main/java/org/dive4elements/river/importer/parsers/PorosityParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/PorosityParser.java	Fri May 16 12:26:11 2014 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/PorosityParser.java	Fri May 16 13:14:52 2014 +0200
@@ -56,7 +56,7 @@
 
     @Override
     public void parse(File file) throws IOException {
-        currentDescription = file.getName();
+        currentDescription = file.getName().replaceAll("\\.csv", "");
 
         super.parse(file);
     }

http://dive4elements.wald.intevation.org