[Dive4elements-commits] [PATCH] Datacage: Fixed fix for <dc:virtual-column>

Wald Commits scm-commit at wald.intevation.org
Fri May 24 18:16:40 CEST 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1369412196 -7200
# Node ID 4b634935a2adcea923a4ea30db546de3dffcb423
# Parent  bdb316f7c552dad38013247a0e40397ea12d49a6
Datacage: Fixed fix for <dc:virtual-column>

diff -r bdb316f7c552 -r 4b634935a2ad artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java	Fri May 24 18:13:23 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java	Fri May 24 18:16:36 2013 +0200
@@ -517,7 +517,7 @@
             String [] origColumns = rd.getColumnLabels();
             int index = origColumns.length;
             String [] newColumns = Arrays.copyOf(origColumns, index+1);
-            newColumns[index] = name.toLowerCase();
+            newColumns[index] = name.toUpperCase();
             ResultData result = new ResultData(newColumns);
             fillResult(result, rd, index, index+1, expr, returnType);
             return result;


More information about the Dive4elements-commits mailing list