[jbpm-commits] JBoss JBPM SVN: r5993 - jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/repository.
do-not-reply at jboss.org
do-not-reply at jboss.org
Fri Dec 18 08:39:10 EST 2009
Author: tom.baeyens at jboss.com
Date: 2009-12-18 08:39:09 -0500 (Fri, 18 Dec 2009)
New Revision: 5993
Modified:
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/repository/RepositoryCacheImpl.java
Log:
JBPM-2628 fixed a bug in RepositoryCacheImpl that resulted in a java.util.ConcurrentModificationException
Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/repository/RepositoryCacheImpl.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/repository/RepositoryCacheImpl.java 2009-12-18 13:32:23 UTC (rev 5992)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/repository/RepositoryCacheImpl.java 2009-12-18 13:39:09 UTC (rev 5993)
@@ -24,6 +24,7 @@
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
+import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -69,7 +70,7 @@
public Set<String> getCachedDeploymentIds() {
if (deployments != null) {
- return deployments.keySet();
+ return new HashSet<String>(deployments.keySet());
}
return Collections.emptySet();
}
More information about the jbpm-commits
mailing list