Skip to content

Commit 097a5b2

Browse files
Fill in since annotations (#11105)
Co-authored-by: timja <21194782+timja@users.noreply.github.com>
1 parent a7a7a1d commit 097a5b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/src/main/java/hudson/model/Queue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ public static boolean tryWithLock(Runnable runnable) {
13551355
*
13561356
* @param runnable the operation to perform.
13571357
* @return {@code true} if the lock was acquired within the timeout and the operation was performed.
1358-
* @since TODO
1358+
* @since 2.529
13591359
*/
13601360
public static boolean tryWithLock(Runnable runnable, Duration timeout) throws InterruptedException {
13611361
final Jenkins jenkins = Jenkins.getInstanceOrNull();
@@ -1461,7 +1461,7 @@ protected boolean _tryWithLock(Runnable runnable) {
14611461
*
14621462
* @param runnable the operation to perform.
14631463
* @return {@code true} if the lock was acquired within the timeout and the operation was performed.
1464-
* @since TODO
1464+
* @since 2.529
14651465
*/
14661466
protected boolean _tryWithLock(Runnable runnable, Duration timeout) throws InterruptedException {
14671467
if (lock.tryLock(timeout.toNanos(), TimeUnit.NANOSECONDS)) {

core/src/main/java/jenkins/model/Nodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public void setNodes(final @NonNull Collection<? extends Node> nodes) throws IOE
154154
* @param node the new node.
155155
* @return True if the node was added. False otherwise (indicating a node with the given name already exists)
156156
* @throws IOException if the list of nodes could not be persisted.
157-
* @since TODO
157+
* @since 2.529
158158
*/
159159
public boolean addNodeIfAbsent(final @NonNull Node node) throws IOException {
160160
if (ENFORCE_NAME_RESTRICTIONS) {

0 commit comments

Comments
 (0)