提交 e77441f6 编写于 作者: C Christoph Kutzinski

reduce visibility of getEstimatedDurationCandidates to protected

上级 5ce7ea0f
......@@ -910,7 +910,7 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
* In any case it will not go more than 6 builds into the past to avoid costly build loading.
*/
@SuppressWarnings("unchecked")
public List<RunT> getEstimatedDurationCandidates() {
protected List<RunT> getEstimatedDurationCandidates() {
List<RunT> candidates = new ArrayList<RunT>(3);
RunT lastSuccessful = (RunT) Permalink.LAST_SUCCESSFUL_BUILD.resolve(this);
int lastSuccessfulNumber = -1;
......
......@@ -1112,6 +1112,11 @@ public class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,MavenMod
public String getUserConfiguredGoals() {
return goals;
}
@Override
protected List<MavenModuleSetBuild> getEstimatedDurationCandidates() {
return super.getEstimatedDurationCandidates();
}
/*package*/ void reconfigure(PomInfo rootPom) throws IOException {
if(this.rootModule!=null && this.rootModule.equals(rootPom.name))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册