[PATCH] Use correct quotes for long names

Wald Commits scm-commit at wald.intevation.org
Fri Dec 6 13:03:02 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1386330974 -3600
# Node ID 7c89a545617a4e5c929c511e5bc52d0cd7126606
# Parent  ba0de3c3a73ef75a1ba6fd14859fe695fa48bd7e
Use correct quotes for long names

diff -r ba0de3c3a73e -r 7c89a545617a artifacts/src/main/java/org/dive4elements/river/exports/WstWriter.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/WstWriter.java	Fri Dec 06 12:10:24 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/WstWriter.java	Fri Dec 06 12:56:14 2013 +0100
@@ -191,7 +191,7 @@
 
         for (String name: columnNames) {
             if (name.contains(" ")) {
-                name = "'" + name + "'";
+                name = '"' + name + '"';
             }
             quotedNames.add(name);
         }


More information about the Dive4elements-commits mailing list