You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2015/12/09 15:50:50 UTC
svn commit: r1718872 -
/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/parser/ASTJexlLambda.java
Author: sebb
Date: Wed Dec 9 14:50:50 2015
New Revision: 1718872
URL: http://svn.apache.org/viewvc?rev=1718872&view=rev
Log:
Use getter/setter rather than direct access
Modified:
commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/parser/ASTJexlLambda.java
Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/parser/ASTJexlLambda.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/parser/ASTJexlLambda.java?rev=1718872&r1=1718871&r2=1718872&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/parser/ASTJexlLambda.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/parser/ASTJexlLambda.java Wed Dec 9 14:50:50 2015
@@ -44,8 +44,8 @@ public final class ASTJexlLambda extends
* @return the arguments array
*/
public Scope.Frame createFrame(Scope.Frame frame, Object... values) {
- if (scope != null) {
- Scope.Frame cframe = scope.createFrame(frame);
+ if (getScope() != null) {
+ Scope.Frame cframe = getScope().createFrame(frame);
if (cframe != null) {
return cframe.assign(values);
}