[Dive4elements-commits] [PATCH] Fixed replacement for unresolved variables in templating builder

Wald Commits scm-commit at wald.intevation.org
Wed Apr 3 15:27:17 CEST 2013


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1364995601 -7200
# Node ID 55529f586962fc3e15f2304674b077619050d289
# Parent  ac48ab9e1715f84a21d0c6a639dd35a95f5b4b36
Fixed replacement for unresolved variables in templating builder.

diff -r ac48ab9e1715 -r 55529f586962 flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java	Wed Apr 03 12:54:34 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java	Wed Apr 03 15:26:41 2013 +0200
@@ -649,7 +649,7 @@
                         m.appendReplacement(sb, (String)result);
                     }
                     else {
-                        m.appendReplacement(sb, "{" + expr + "}");
+                        m.appendReplacement(sb, "");
                     }
                 }
                 m.appendTail(sb);


More information about the Dive4elements-commits mailing list