[Dive4elements-commits] [PATCH 1 of 3] Let get return a value

Wald Commits scm-commit at wald.intevation.org
Tue Jun 4 16:05:03 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1370354503 -7200
# Node ID 65f278bd4ef5fba7f4efffa2a502ae351837c2c6
# Parent  e30d396defa5a383a231335d2b21f3a699ec0c65
Let get return a value

diff -r e30d396defa5 -r 65f278bd4ef5 artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FunctionResolver.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FunctionResolver.java	Tue Jun 04 15:17:19 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FunctionResolver.java	Tue Jun 04 16:01:43 2013 +0200
@@ -145,7 +145,7 @@
             public Object evaluate(List args) throws XPathFunctionException {
                 Object o = args.get(0);
                 if (o instanceof String) {
-                    FunctionResolver.this.buildHelper.frames.getNull(
+                    return FunctionResolver.this.buildHelper.frames.getNull(
                         (String)o, StackFrames.NULL);
                 }
                 return StackFrames.NULL;


More information about the Dive4elements-commits mailing list