[PATCH 3 of 3] (issue1755) Uppercase diameter names in CSV Header

Wald Commits scm-commit at wald.intevation.org
Thu Apr 2 14:54:55 CEST 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1427976625 -7200
# Node ID 3a9ce890e4c7ae0e6d8c2b2c72042775d682f365
# Parent  4b00ee8589640e69c0d47613349b51189441574e
(issue1755) Uppercase diameter names in CSV Header

diff -r 4b00ee858964 -r 3a9ce890e4c7 artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java
--- 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);


More information about the Dive4Elements-commits mailing list