Suppress rawtypes warning for createReferenceArray
This commit is contained in:
parent
6d6aa72e8f
commit
fd0220b85c
|
|
@ -651,7 +651,7 @@ public class ConcurrentReferenceHashMap<K, V> extends AbstractMap<K, V> implemen
|
|||
return null;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({"rawtypes", "unchecked"})
|
||||
private Reference<K, V>[] createReferenceArray(int size) {
|
||||
return new Reference[size];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue