You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by di...@apache.org on 2007/10/22 09:29:57 UTC

svn commit: r587019 - /commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/ExpressionImpl.java

Author: dion
Date: Mon Oct 22 00:29:53 2007
New Revision: 587019

URL: http://svn.apache.org/viewvc?rev=587019&view=rev
Log:
checkstyle

Modified:
    commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/ExpressionImpl.java

Modified: commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/ExpressionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/ExpressionImpl.java?rev=587019&r1=587018&r2=587019&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/ExpressionImpl.java (original)
+++ commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/ExpressionImpl.java Mon Oct 22 00:29:53 2007
@@ -21,7 +21,6 @@
 import java.util.List;
 
 import org.apache.commons.jexl.parser.SimpleNode;
-import org.apache.commons.jexl.parser.ParserVisitor;
 
 /**
  * Instances of ExpressionImpl are created by the {@link ExpressionFactory},
@@ -33,7 +32,7 @@
  */
 class ExpressionImpl implements Expression {
 
-	// TODO: move resolving to interpreter
+    // TODO: move resolving to interpreter
     /** resolvers called before expression evaluation. */
     protected List preResolvers;
 
@@ -52,7 +51,7 @@
     protected SimpleNode node;
 
     /**
-     * The interpreter of the expression
+     * The interpreter of the expression.
      */
     protected Interpreter interpreter;
 
@@ -61,6 +60,7 @@
      *
      * @param expr the expression.
      * @param ref the parsed expression.
+     * @param interp the interpreter to evaluate the expression
      */
     ExpressionImpl(String expr, SimpleNode ref, Interpreter interp) {
         expression = expr;
@@ -85,7 +85,7 @@
             }
         }
 
-		val = interpreter.interpret(node, context);
+        val = interpreter.interpret(node, context);
 
         /*
          * if null, call post resolvers