提交 b21af0f9 编写于 作者: J Jesse Glick

No need to check for c.env == null any more.

上级 716f5ada
......@@ -163,9 +163,7 @@ public abstract class SimpleBuildWrapper extends BuildWrapper {
this.launcher = launcher;
}
@Override public void buildEnvVars(Map<String,String> env) {
if (c.env != null) {
env.putAll(c.env);
}
env.putAll(c.env);
}
@Override public boolean tearDown(AbstractBuild build, BuildListener listener) throws IOException, InterruptedException {
if (c.disposer != null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册