Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-18196] fixed typo
(cherry picked from commit 5ce7ea0)
  • Loading branch information
kutzi authored and olivergondza committed Sep 13, 2013
1 parent 693ee2a commit 6244e51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/hudson/model/Job.java
Expand Up @@ -885,7 +885,7 @@ public List<RunT> getLastBuildsOverThreshold(int numberOfBuilds, Result threshol
* In any case it will not go more than 6 builds into the past to avoid costly build loading.
*/
@SuppressWarnings("unchecked")
public List<RunT> getEstimedDurationCandidates() {
public List<RunT> getEstimatedDurationCandidates() {
List<RunT> candidates = new ArrayList<RunT>(3);
RunT lastSuccessful = (RunT) Permalink.LAST_SUCCESSFUL_BUILD.resolve(this);
int lastSuccessfulNumber = -1;
Expand Down Expand Up @@ -921,7 +921,7 @@ public List<RunT> getEstimedDurationCandidates() {
}

public long getEstimatedDuration() {
List<RunT> builds = getEstimedDurationCandidates();
List<RunT> builds = getEstimatedDurationCandidates();

if(builds.isEmpty()) return -1;

Expand Down
Expand Up @@ -350,7 +350,7 @@ public long getEstimatedDuration() {
* to the sum of durations of the module builds.
*/
private long estimateModuleSetBuildDurationOverhead(int numberOfBuilds) {
List<MavenModuleSetBuild> moduleSetBuilds = getParent().getEstimedDurationCandidates();
List<MavenModuleSetBuild> moduleSetBuilds = getParent().getEstimatedDurationCandidates();

if (moduleSetBuilds.isEmpty()) {
return 0;
Expand Down

0 comments on commit 6244e51

Please sign in to comment.