simplified.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4530 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-08-30 14:24:39 +00:00
1 parent f8b2457919
commit 7d9ce4e3ef
1 file changed
+2 -2
@@ -283,12 +283,12 @@ public class MavenBuild extends AbstractBuild<MavenModule,MavenBuild> {
protected void abortIfNotStarted() {
if(hasntStartedYet()) {
run(new Runner() {
public Result run(BuildListener listener) throws Exception, RunnerAbortedException {
public Result run(BuildListener listener) {
listener.getLogger().println("Build failed before it gets to this module");
return Result.ABORTED;
}
public void post(BuildListener listener) throws Exception {
public void post(BuildListener listener) {
}
});
}