commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1209075 - /commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/Interpreter.java
Date Thu, 01 Dec 2011 13:45:11 GMT
Author: sebb
Date: Thu Dec  1 13:45:11 2011
New Revision: 1209075

URL: http://svn.apache.org/viewvc?rev=1209075&view=rev
Log:
No need for cancelled and parameters to be non-private

Modified:
    commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/Interpreter.java

Modified: commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/Interpreter.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/Interpreter.java?rev=1209075&r1=1209074&r2=1209075&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/Interpreter.java
(original)
+++ commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/Interpreter.java
Thu Dec  1 13:45:11 2011
@@ -113,14 +113,19 @@ public class Interpreter implements Pars
     protected Object[] registers = null;
     /**
      * Parameter names if any.
+     * Intended for use in debugging; not currently used externally.
      * @since 2.1 
      */
-    protected String[] parameters = null;
+    @SuppressWarnings("unused")
+    private String[] parameters = null;
+
     /** 
      * Cancellation support.
+     * @see #isCancelled()
      * @since 2.1
      */
-    protected volatile boolean cancelled = false;
+    private volatile boolean cancelled = false;
+
     /** Empty parameters for method matching. */
     protected static final Object[] EMPTY_PARAMS = new Object[0];
 



Mime
View raw message