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 2012/03/13 12:15:55 UTC

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

Author: sebb
Date: Tue Mar 13 11:15:55 2012
New Revision: 1300077

URL: http://svn.apache.org/viewvc?rev=1300077&view=rev
Log:
Suppress acceptable raw type warning

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

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/CollectionUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/CollectionUtils.java?rev=1300077&r1=1300076&r2=1300077&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/CollectionUtils.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/CollectionUtils.java Tue Mar 13 11:15:55 2012
@@ -128,6 +128,7 @@ public class CollectionUtils {
      * this purpose. However they could be cast to Set or List which might be
      * undesirable. This implementation only implements Collection.
      */
+    @SuppressWarnings("rawtypes") // we deliberately use the raw type here
     public static final Collection EMPTY_COLLECTION = UnmodifiableCollection.unmodifiableCollection(new ArrayList<Object>());
 
     /**