mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
performance improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5609 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
15aa153c9a
commit
dc1c7e3d3e
1 file changed
+1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user