changeset 6610:8d88db1f5d36

Add quick hack to fix the exported name of Amtl.Fixierungen
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 18 Jul 2013 17:53:56 +0200
parents 6d55614d6f87
children dfdeed3e997e
files artifacts/src/main/java/org/dive4elements/river/exports/WaterlevelExporter.java
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/WaterlevelExporter.java	Thu Jul 18 17:53:11 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/WaterlevelExporter.java	Thu Jul 18 17:53:56 2013 +0200
@@ -641,6 +641,12 @@
                 }
             }
         }
+        if (colDesc != null) {
+            /* Quick hack. Can be removed when database strings are
+             * adapted or left in here as it should never be harmful. */
+            colDesc = colDesc.replace("Amtl.Festlegung_", "Amtl. ");
+        }
+
         return colDesc == null ? "" : colDesc;
     }
 

http://dive4elements.wald.intevation.org