commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r387067 - /jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java
Date Sun, 19 Mar 2006 23:36:35 GMT
Author: dion
Date: Sun Mar 19 15:36:35 2006
New Revision: 387067

URL: http://svn.apache.org/viewcvs?rev=387067&view=rev
Log:
make variables that aren't changeable private - pmd report

Modified:
    jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java

Modified: jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java?rev=387067&r1=387066&r2=387067&view=diff
==============================================================================
--- jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java
(original)
+++ jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java
Sun Mar 19 15:36:35 2006
@@ -37,8 +37,8 @@
  */
 public class Asserter extends Assert {
 
-    private Map variables = new HashMap();
-    private JexlContext context = JexlHelper.createContext();
+    private final Map variables = new HashMap();
+    private final JexlContext context = JexlHelper.createContext();
 
     public Asserter() {}
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message