changeset 4722:c3e2b0d343dc

DA66Parser: Use filename without extension as description for cross section.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 27 Dec 2012 13:20:19 +0100
parents b0b1008c07e9
children 83304d3651ec
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.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/DA66Parser.java	Thu Dec 27 13:19:34 2012 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java	Thu Dec 27 13:20:19 2012 +0100
@@ -174,8 +174,7 @@
     /** Get the description of the cross section parsed. */
     @Override
     public String getDescription() {
-        // TODO place file name here
-        return "da66-dummy";
+        return removeExtension(getFileName());
     }
 
 

http://dive4elements.wald.intevation.org