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 2011/11/28 16:52:11 UTC
svn commit: r1207330 -
/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java
Author: sebb
Date: Mon Nov 28 15:52:10 2011
New Revision: 1207330
URL: http://svn.apache.org/viewvc?rev=1207330&view=rev
Log:
Document that fields will become final
Modified:
commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java
Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java?rev=1207330&r1=1207329&r2=1207330&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java Mon Nov 28 15:52:10 2011
@@ -103,9 +103,9 @@ public class Interpreter implements Pars
protected Map<String, Object> functors;
/** The context to store/retrieve variables. */
protected final JexlContext context;
- /** Strict interpreter flag. */
+ /** Strict interpreter flag. Do not modify; will be made final in a later version. */
protected boolean strict;
- /** Silent intepreter flag. */
+ /** Silent intepreter flag. Do not modify; will be made final in a later version. */
protected boolean silent;
/** Cache executors. */
protected final boolean cache;
@@ -167,6 +167,7 @@ public class Interpreter implements Pars
/**
* Sets whether this interpreter considers unknown variables, methods and constructors as errors.
* @param flag true for strict, false for lenient
+ * @deprecated Do not use; will be removed in a later version
*/
@Deprecated
public void setStrict(boolean flag) {
@@ -176,6 +177,7 @@ public class Interpreter implements Pars
/**
* Sets whether this interpreter throws JexlException when encountering errors.
* @param flag true for silent, false for verbose
+ * @deprecated Do not use; will be removed in a later version
*/
@Deprecated
public void setSilent(boolean flag) {