From 0efa8095ce27a953fde092b1fdff9d66f10dcda9 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Wed, 20 May 2009 11:44:40 +0000 Subject: [PATCH] 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 --- src/java/org/apache/commons/collections/CollectionUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/collections/CollectionUtils.java b/src/java/org/apache/commons/collections/CollectionUtils.java index 83cee9547..5c7e1dc12 100644 --- a/src/java/org/apache/commons/collections/CollectionUtils.java +++ b/src/java/org/apache/commons/collections/CollectionUtils.java @@ -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.