improve performance of projection instantiation
This commit is contained in:
committed by
Juergen Hoeller
parent
581acb62a0
commit
6d6aa72e8f
@@ -653,7 +653,7 @@ public class ConcurrentReferenceHashMap<K, V> extends AbstractMap<K, V> implemen
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private Reference<K, V>[] createReferenceArray(int size) {
|
||||
return (Reference<K, V>[]) Array.newInstance(Reference.class, size);
|
||||
return new Reference[size];
|
||||
}
|
||||
|
||||
private int getIndex(int hash, Reference<K, V>[] references) {
|
||||
|
||||
Reference in New Issue
Block a user