dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37235
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19057: Minor
------------------------------------------------------------
revno: 19057
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-04-29 13:47:08 +0200
message:
Minor
modified:
dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/ExpressionUtils.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/ExpressionUtils.java'
--- dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/ExpressionUtils.java 2015-04-29 11:38:15 +0000
+++ dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/ExpressionUtils.java 2015-04-29 11:47:08 +0000
@@ -60,7 +60,7 @@
{
Expression exp = JEXL.createExpression( expression );
- JexlContext context = vars != null ? new MapContext( vars ) : new MapContext( vars );
+ JexlContext context = vars != null ? new MapContext( vars ) : new MapContext();
return exp.evaluate( context );
}