# HG changeset patch # User Tom Gottfried # Date 1370417761 -7200 # Node ID 7053de3ca4756510327301079149a2a877b0b23a # Parent 5319ecd0619ca51728e8e195f3998ff6caa14390 Do not use file extension for description of bed heights diff -r 5319ecd0619c -r 7053de3ca475 backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java --- 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 {