From 200016ad61204f9b1da6d7c3475bf1ec234720ec Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Wed, 30 Jan 2008 19:03:37 +0000 Subject: [PATCH] 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 --- .../java/org/apache/openjpa/kernel/AbstractBrokerFactory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AbstractBrokerFactory.java b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AbstractBrokerFactory.java index 9a9bf62e4..aff638325 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AbstractBrokerFactory.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AbstractBrokerFactory.java @@ -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());