mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
fixed typo
This commit is contained in:
1 parent
04d85eb476
commit
5ce7ea0f04
2 files changed
+3
-3
No files matched your search
@@ -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> getEstimedDurationCandidates() {
|
||||
public List<RunT> getEstimatedDurationCandidates() {
|
||||
List<RunT> candidates = new ArrayList<RunT>(3);
|
||||
RunT lastSuccessful = (RunT) Permalink.LAST_SUCCESSFUL_BUILD.resolve(this);
|
||||
int lastSuccessfulNumber = -1;
|
||||
@@ -946,7 +946,7 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
|
||||
}
|
||||
|
||||
public long getEstimatedDuration() {
|
||||
List<RunT> builds = getEstimedDurationCandidates();
|
||||
List<RunT> builds = getEstimatedDurationCandidates();
|
||||
|
||||
if(builds.isEmpty()) return -1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user