Skip to content

Commit cf47cc0

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

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public interface RootAction extends Action, ExtensionPoint {
5656
* Primary actions may be handled differently in the UI (for example, by always showing on the header rather than in an actions dropdown).
5757
* In almost all cases this should return {@code false} which is the default
5858
* @return {@code true} iff this action should be considered primary.
59-
* @since TODO
59+
* @since 2.516
6060
*/
6161
default boolean isPrimaryAction() {
6262
return false;

core/src/main/java/jenkins/util/SystemProperties.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ public static Boolean optBoolean(String name) {
316316
* Determines the duration value of the system property with the specified name.
317317
* @param name property name.
318318
* @return the property value as a duration.
319-
* @since TODO
319+
* @since 2.516
320320
*/
321321
@CheckForNull
322322
public static Duration getDuration(@NonNull String name) {
@@ -328,7 +328,7 @@ public static Duration getDuration(@NonNull String name) {
328328
* @param name property name.
329329
* @param unit the duration unit to use if the value doesn't specify one (defaults to `ms`)
330330
* @return the property value as a duration.
331-
* @since TODO
331+
* @since 2.516
332332
*/
333333
@CheckForNull
334334
public static Duration getDuration(@NonNull String name, @CheckForNull ChronoUnit unit) {
@@ -340,7 +340,7 @@ public static Duration getDuration(@NonNull String name, @CheckForNull ChronoUni
340340
* @param name property name.
341341
* @param defaultValue a default value
342342
* @return the property value as a duration.
343-
* @since TODO
343+
* @since 2.516
344344
*/
345345
@Nullable
346346
public static Duration getDuration(@NonNull String name, @CheckForNull Duration defaultValue) {
@@ -354,7 +354,7 @@ public static Duration getDuration(@NonNull String name, @CheckForNull Duration
354354
* @param unit the duration unit to use if the value doesn't specify one (defaults to `ms`)
355355
* @param defaultValue a default value
356356
* @return the property value as a duration.
357-
* @since TODO
357+
* @since 2.516
358358
*/
359359
@Nullable
360360
public static Duration getDuration(@NonNull String name, @CheckForNull ChronoUnit unit, @CheckForNull Duration defaultValue) {

0 commit comments

Comments
 (0)