Skip to content

Commit

Permalink
Update Job.java
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Jan 11, 2025
1 parent 3cbdfbc commit 323e48f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/hudson/model/Job.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.)
Expand All @@ -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 mn}.
*
* This is useful when you'd like to fetch a build but the exact build might
* be already gone (deleted, rotated, etc.)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 323e48f

Please sign in to comment.