提交 af34d316 编写于 作者: K kohsuke

defensive check for preventing issue #1537

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8486 71c3de6d-444a-0410-be80-ed276b4c234a
上级 a9e0dd24
......@@ -60,6 +60,8 @@ public class BuildTrigger extends Publisher implements DependecyDeclarer, Matrix
}
public BuildTrigger(String childProjects, Result threshold) {
if(childProjects==null)
throw new IllegalArgumentException();
this.childProjects = childProjects;
this.threshold = threshold;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册