Skip to content

Commit

Permalink
Merge pull request #14 from alexanderrtaylor/master
Browse files Browse the repository at this point in the history
[JENKINS-33527]Changed HashMap to ConcurrentHashMap
  • Loading branch information
olivergondza committed Mar 9, 2017
2 parents ea649b1 + 4649f8f commit d9931d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/jenkinsci/plugins/EnvironmentVarSetter.java
Expand Up @@ -7,7 +7,7 @@

import javax.annotation.CheckForNull;
import java.io.PrintStream;
import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;
import java.util.Map;

/**
Expand All @@ -16,7 +16,7 @@
*/
public class EnvironmentVarSetter implements EnvironmentContributingAction {
private PrintStream log;
private final Map<String, String> envVars = new HashMap<String, String>();
private final Map<String, String> envVars = new ConcurrentHashMap<String, String>();

public static final String buildDisplayNameVar = "BUILD_DISPLAY_NAME";

Expand Down

0 comments on commit d9931d2

Please sign in to comment.