diff --git a/core/src/main/java/hudson/model/Job.java b/core/src/main/java/hudson/model/Job.java index 2abf1677fe06..1983b64511bf 100644 --- a/core/src/main/java/hudson/model/Job.java +++ b/core/src/main/java/hudson/model/Job.java @@ -864,7 +864,7 @@ public RunT getBuildForCLI(@Argument(required = true, metaVar = "BUILD#", usage } /** - * Gets the youngest build #m that satisfies {@code n<=m}. + * Gets the oldest build #m that satisfies {@code m ≥ n}. * * This is useful when you'd like to fetch a build but the exact build might * be already gone (deleted, rotated, etc.) @@ -879,7 +879,7 @@ public RunT getNearestBuild(int n) { } /** - * Gets the latest build #m that satisfies {@code m<=n}. + * Gets the newest build #m that satisfies {@code m ≤ n}. * * This is useful when you'd like to fetch a build but the exact build might * be already gone (deleted, rotated, etc.) @@ -988,7 +988,7 @@ public File getBuildDir() { protected abstract void removeRun(RunT run); /** - * Returns the last build. + * Returns the newest build. * @see LazyBuildMixIn#getLastBuild */ @Exported