[JENKINS-42585] - Replace Hashtable by more efficient ConcurrentHashMap (#2769)

This commit is contained in:
Akbashev Alexander authored and Oleg Nenashev committed 2017-03-10 11:52:49 +01:00
1 parent 783d935006
commit 22e729cc0b
1 file changed
+1 -2
+1 -2
View File
@@ -117,7 +117,6 @@ import java.util.Collections;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.List;
@@ -1952,7 +1951,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
* Stores {@link Plugin} instances.
*/
/*package*/ static final class PluginInstanceStore {
final Map<PluginWrapper,Plugin> store = new Hashtable<PluginWrapper,Plugin>();
final Map<PluginWrapper,Plugin> store = new ConcurrentHashMap<PluginWrapper,Plugin>();
}
/**