arturobernalg commented on code in PR #48:
URL: https://github.com/apache/commons-ognl/pull/48#discussion_r849847105


##########
src/main/java/org/apache/commons/ognl/enhance/ExpressionCompiler.java:
##########
@@ -157,7 +157,7 @@ public static String getRootExpression( Node expression, 
Object root, OgnlContex
 
             Class<?> castClass = OgnlRuntime.getCompiler( context 
).getRootExpressionClass( expression, context );
 
-            if ( castClass.isArray() || expression instanceof ASTRootVarRef || 
expression instanceof ASTThisVarRef)

Review Comment:
   reverted.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to