changeset 8656:3a9ce890e4c7

(issue1755) Uppercase diameter names in CSV Header
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 02 Apr 2015 14:10:25 +0200
parents 4b00ee858964
children 4054c7fce43e
files artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java	Thu Apr 02 14:09:27 2015 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java	Thu Apr 02 14:10:25 2015 +0200
@@ -149,7 +149,7 @@
                 if (value.isDiameterResult()) {
                     i18n = CSV_HEADER_BASE + ".diameter." + value.getType();
                     header.add(msg(i18n, i18n) +
-                        " - " + value.getName() + " - " + d1 + "-" + d2);
+                        " - " + value.getName().toUpperCase() + " - " + d1 + "-" + d2);
                 } else {
                     i18n = CSV_HEADER_BASE + "." + value.getName() + "." + value.getType();
                     header.add(msg(i18n, i18n) + " - " + d1 + "-" + d2);

http://dive4elements.wald.intevation.org