commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1718872 - /commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/parser/ASTJexlLambda.java
Date Wed, 09 Dec 2015 14:50:50 GMT
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);
             }



Mime
View raw message