changeset 6202:7053de3ca475

Do not use file extension for description of bed heights
author Tom Gottfried <tom.gottfried@intevation.de>
date Wed, 05 Jun 2013 09:36:01 +0200
parents 5319ecd0619c
children 6a4f530a2af7
files backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java	Tue Jun 04 17:57:30 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java	Wed Jun 05 09:36:01 2013 +0200
@@ -113,7 +113,7 @@
     public void parse(File file) throws IOException {
         log.info("Parsing bed height single file '" + file + "'");
 
-        ImportBedHeight obj = newImportBedHeight(file.getName());
+        ImportBedHeight obj = newImportBedHeight(file.getName().replaceAll("\\.csv", ""));
 
         LineNumberReader in = null;
         try {

http://dive4elements.wald.intevation.org