commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1126239 - /incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java
Date Sun, 22 May 2011 22:17:08 GMT
Author: simonetripodi
Date: Sun May 22 22:17:07 2011
New Revision: 1126239

URL: http://svn.apache.org/viewvc?rev=1126239&view=rev
Log:
evaluations list reference can be final

Modified:
    incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java

Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java?rev=1126239&r1=1126238&r2=1126239&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/EvaluationPool.java Sun May
22 22:17:07 2011
@@ -24,7 +24,7 @@ import java.util.List;
 
 public final class EvaluationPool
 {
-    private List<Evaluation> evaluations = new ArrayList<Evaluation>();
+    private final List<Evaluation> evaluations = new ArrayList<Evaluation>();
 
     private int size = 0;
 



Mime
View raw message