提交 69779d0f 编写于 作者: K kohsuke

better to allow the subclass override the isDisabled().


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1982 71c3de6d-444a-0410-be80-ed276b4c234a
上级 56f3a46f
......@@ -173,7 +173,7 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
* Schedules a build of this project.
*/
public void scheduleBuild() {
if(!disabled)
if(!isDisabled())
Hudson.getInstance().getQueue().add(this);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册