提交 dc1c7e3d 编写于 作者: K kohsuke

performance improvement.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5609 71c3de6d-444a-0410-be80-ed276b4c234a
上级 15aa153c
......@@ -246,6 +246,7 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
* Marks the build as disabled.
*/
public void makeDisabled(boolean b) throws IOException {
if(disabled==b) return; // noop
this.disabled = b;
save();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册