提交 4b039c3b 编写于 作者: K kohsuke

This method already exists in the base class, albeit in a different name.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12961 71c3de6d-444a-0410-be80-ed276b4c234a
上级 74af23f4
......@@ -403,16 +403,6 @@ public final class MavenModule extends AbstractMavenProject<MavenModule,MavenBui
getParent().onModuleDeleted(this);
}
/**
* Marks this build as disabled.
*/
public void disable() throws IOException {
if(!disabled) {
disabled = true;
save();
}
}
/**
* Creates a list of {@link MavenReporter}s to be used for a build of this project.
*/
......
......@@ -6,7 +6,6 @@ import hudson.FilePath.FileCallable;
import hudson.Launcher;
import hudson.Util;
import hudson.tasks.BuildWrapper;
import hudson.tasks.Maven;
import hudson.tasks.Maven.MavenInstallation;
import hudson.maven.MavenBuild.ProxyImpl2;
import hudson.maven.reporters.MavenFingerprinter;
......@@ -431,7 +430,7 @@ public final class MavenModuleSetBuild extends AbstractBuild<MavenModuleSet,Mave
for (MavenModule om : old.values()) {
if(debug)
logger.println("Disabling "+om);
om.disable();
om.makeDisabled(true);
}
modules.putAll(old);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册