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 2009/05/20 13:44:40 UTC

svn commit: r776670 - /commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java

Author: sebb
Date: Wed May 20 11:44:40 2009
New Revision: 776670

URL: http://svn.apache.org/viewvc?rev=776670&view=rev
Log:
Make private static field final, as it is a constant

Modified:
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java?rev=776670&r1=776669&r2=776670&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java (original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java Wed May 20 11:44:40 2009
@@ -58,7 +58,7 @@
 public class CollectionUtils {
 
     /** Constant to avoid repeated object creation */
-    private static Integer INTEGER_ONE = new Integer(1);
+    private static final Integer INTEGER_ONE = new Integer(1);
 
     /**
      * An empty unmodifiable collection.