Suppress rawtypes warning for createReferenceArray
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user