dion 2004/08/23 07:00:11
Modified: jexl/src/java/org/apache/commons/jexl ExpressionImpl.java
Log:
remove todo and explain code
Revision Changes Path
1.11 +6 -3
jakarta-commons/jexl/src/java/org/apache/commons/jexl/ExpressionImpl.java
Index: ExpressionImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/jexl/src/java/org/apache/commons/jexl/ExpressionImpl.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ExpressionImpl.java 23 Aug 2004 13:37:19 -0000 1.10
+++ ExpressionImpl.java 23 Aug 2004 14:00:11 -0000 1.11
@@ -55,9 +55,12 @@
}
/**
- * evaluate the expression and return the value
+ * Evaluate the expression and return the value.
*
- * @todo Under what conditions will pre and post resolvers be called
+ * Before JEXL evaluates the expression, any pre-resolvers will be called.
+ * If the pre-resolver provides a value, it is returned.
+ * If JEXL evaluates the expression as null, post-resolvers are called
+ * and any resulting value returned.
*
* @param context Context containing objects/data used for evaluation
* @return value of expression
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]