Make private static field final, as it is a constant
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@776670 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1ec0f42390
commit
0efa8095ce
|
@ -58,7 +58,7 @@ import org.apache.commons.collections.collection.UnmodifiableCollection;
|
|||
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.
|
||||
|
|
Loading…
Reference in New Issue