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/branches/1.0.x@616844 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
276d7cdd23
commit
200016ad61
|
@ -256,8 +256,7 @@ public abstract class AbstractBrokerFactory
|
|||
if (clss.isEmpty())
|
||||
_pcClassNames = Collections.EMPTY_SET;
|
||||
else {
|
||||
Collection c = new ConcurrentReferenceHashSet(
|
||||
ConcurrentReferenceHashSet.HARD);
|
||||
Collection c = new ArrayList(clss.size());
|
||||
for (Iterator itr = clss.iterator(); itr.hasNext();) {
|
||||
Class cls = (Class) itr.next();
|
||||
c.add(cls.getName());
|
||||
|
|
Loading…
Reference in New Issue