Skip to content

Commit

Permalink
Compilation problem with newer cores.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Jan 5, 2018
1 parent 6ccf5eb commit d0101a3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/main/java/hudson/maven/AbstractMavenProject.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Action;
import hudson.model.Cause;
import hudson.model.DependencyGraph;
import jenkins.model.Jenkins;
import hudson.model.ItemGroup;
Expand Down Expand Up @@ -239,4 +240,28 @@ protected List<Action> createTransientActions() {
*/
protected abstract void addTransientActionsFromBuild(R lastBuild, List<Action> collection, Set<Class> added);

// TODO for some reason the default implementations added to ParameterizedJob in 2.61 are not found by javac:

@Deprecated
@Override
public boolean scheduleBuild() {
return super.scheduleBuild();
}

@Deprecated
@Override
public boolean scheduleBuild(int quietPeriod) {
return super.scheduleBuild(quietPeriod);
}

@Override
public boolean scheduleBuild(Cause c) {
return super.scheduleBuild(c);
}

@Override
public boolean scheduleBuild(int quietPeriod, Cause c) {
return super.scheduleBuild(quietPeriod, c);
}

}

0 comments on commit d0101a3

Please sign in to comment.