mirror of https://github.com/apache/openjpa.git
OPENJPA-437. Reverted back to hard-reference ArrayList instead of a concurrent set, since the new logic only performs local mutation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616845 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0b4ce34920
commit
badc4b924f
|
@ -280,8 +280,7 @@ public abstract class AbstractBrokerFactory
|
||||||
if (clss.isEmpty())
|
if (clss.isEmpty())
|
||||||
_pcClassNames = Collections.EMPTY_SET;
|
_pcClassNames = Collections.EMPTY_SET;
|
||||||
else {
|
else {
|
||||||
Collection c = new ConcurrentReferenceHashSet(
|
Collection c = new ArrayList(clss.size());
|
||||||
ConcurrentReferenceHashSet.HARD);
|
|
||||||
for (Iterator itr = clss.iterator(); itr.hasNext();) {
|
for (Iterator itr = clss.iterator(); itr.hasNext();) {
|
||||||
Class cls = (Class) itr.next();
|
Class cls = (Class) itr.next();
|
||||||
c.add(cls.getName());
|
c.add(cls.getName());
|
||||||
|
|
Loading…
Reference in New Issue