File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 )) {
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments