Skip to content

Commit

Permalink
Switching the arguments map to a ConcurrentHashMap.
Browse files Browse the repository at this point in the history
  • Loading branch information
byarger-ebay committed Feb 28, 2023
1 parent e9aed45 commit b4fd0ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NST/src/main/java/com/ebay/runtime/RuntimeConfigManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.ConcurrentHashMap;

import com.ebay.nst.hosts.manager.PoolType;
import com.ebay.runtime.arguments.AndroidMocksLocationArgument;
Expand All @@ -25,7 +26,7 @@ public class RuntimeConfigManager {
// Singleton instance
private static RuntimeConfigManager instance = null;

Map<String, RuntimeConfigValue<?>> arguments = new HashMap<>();
private Map<String, RuntimeConfigValue<?>> arguments = new ConcurrentHashMap<>();

private RuntimeConfigManager() {
arguments.put(AndroidMocksLocationArgument.KEY, new AndroidMocksLocationArgument());
Expand Down

0 comments on commit b4fd0ca

Please sign in to comment.