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:
Patrick Linskey 2008-01-30 19:03:37 +00:00
parent 276d7cdd23
commit 200016ad61
1 changed files with 1 additions and 2 deletions

View File

@ -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());