Skip to content

Commit

Permalink
Fill in since annotations (#9910)
Browse files Browse the repository at this point in the history
Co-authored-by: timja <[email protected]>
  • Loading branch information
github-actions[bot] and timja authored Oct 24, 2024
1 parent 1869fc0 commit 1f7b6a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/hudson/model/Computer.java
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ public void setTemporarilyOffline(boolean temporarilyOffline) {
* @deprecated
* Use {@link #setTemporaryOfflineCause(OfflineCause)} instead.
*/
@Deprecated(since = "TODO")
@Deprecated(since = "2.482")
public void setTemporarilyOffline(boolean temporarilyOffline, OfflineCause cause) {
if (cause == null) {
setTemporarilyOffline(temporarilyOffline);
Expand All @@ -702,7 +702,7 @@ public void setTemporarilyOffline(boolean temporarilyOffline, OfflineCause cause
*
* @param temporaryOfflineCause The reason why the node is being put offline.
* If null, this cancels the status
* @since TODO
* @since 2.482
*/
public void setTemporaryOfflineCause(@CheckForNull OfflineCause temporaryOfflineCause) {
var node = getNode();
Expand All @@ -713,7 +713,7 @@ public void setTemporaryOfflineCause(@CheckForNull OfflineCause temporaryOffline
}

/**
* @since TODO
* @since 2.482
* @return If the node is temporarily offline, the reason why.
*/
@SuppressWarnings("unused") // used by setOfflineCause.jelly
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/util/FormApply.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void generateResponse(StaplerRequest2 req, StaplerResponse2 rsp, Object n
* @param notificationType type of notification. See {@link NotificationType} for supported types. Defines the notification
* color and the icon that will be shown.
*
* @since TODO
* @since 2.482
*/
public static HttpResponseException showNotification(final String message, final NotificationType notificationType) {
return new HttpResponseException() {
Expand Down

0 comments on commit 1f7b6a8

Please sign in to comment.