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:
parent
0a67f04278
commit
716a128f2a
|
@ -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>());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue