Suppress acceptable raw type warning

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300077 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-03-13 11:15:55 +00:00
parent 0a67f04278
commit 716a128f2a
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ public class CollectionUtils {
* this purpose. However they could be cast to Set or List which might be * this purpose. However they could be cast to Set or List which might be
* undesirable. This implementation only implements Collection. * 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>()); public static final Collection EMPTY_COLLECTION = UnmodifiableCollection.unmodifiableCollection(new ArrayList<Object>());
/** /**