Skip to content

Commit

Permalink
use concurrenthashmap instead of hashmap
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerk committed Nov 5, 2009
1 parent 2d8614a commit 727d3bc
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -25,11 +25,12 @@
import java.net.URL;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import java.util.concurrent.ConcurrentHashMap;


import javax.enterprise.inject.spi.Extension;

Expand Down Expand Up @@ -121,7 +122,7 @@ public DeploymentVisitor(BeanManagerImpl deploymentManager, Environment environm
this.deploymentManager = deploymentManager;
this.environment = environment;
this.deployment = deployment;
this.managerAwareBeanDeploymentArchives = new HashMap<BeanDeploymentArchive, BeanDeployment>();
this.managerAwareBeanDeploymentArchives = new ConcurrentHashMap<BeanDeploymentArchive, BeanDeployment>();
this.implementationBeanDeploymentArchive = new BeanDeploymentArchive()
{

Expand Down

0 comments on commit 727d3bc

Please sign in to comment.