changeset 6204:6a4f530a2af7

merged
author Tom Gottfried <tom.gottfried@intevation.de>
date Wed, 05 Jun 2013 12:04:11 +0200
parents 7053de3ca475 (diff) cefad5546373 (current diff)
children 1298c1c2dadf
files
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	Wed Jun 05 11:54:24 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java	Wed Jun 05 12:04:11 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