8326951: since-checker - missing @ since tags

Reviewed-by: jpai
This commit is contained in:
Nizar Benalla 2024-06-04 16:51:39 +00:00 committed by Jaikiran Pai
parent 31f70391e5
commit e0bab78640
7 changed files with 22 additions and 5 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -185,6 +185,7 @@ public class Properties extends Hashtable<Object,Object> {
* accommodate this many elements
* @throws IllegalArgumentException if the initial capacity is less than
* zero.
* @since 10
*/
public Properties(int initialCapacity) {
this(null, initialCapacity);

View file

@ -500,6 +500,8 @@ public final class ThreadLocalRandom extends Random {
* {@inheritDoc}
* @throws IllegalArgumentException {@inheritDoc}
* @implNote {@inheritDoc}
*
* @since 17
*/
@Override
public float nextFloat(float bound) {
@ -510,6 +512,8 @@ public final class ThreadLocalRandom extends Random {
* {@inheritDoc}
* @throws IllegalArgumentException {@inheritDoc}
* @implNote {@inheritDoc}
*
* @since 17
*/
@Override
public float nextFloat(float origin, float bound) {

View file

@ -336,6 +336,8 @@ public class Deflater {
* @param dictionary the dictionary data bytes
* @see Inflater#inflate
* @see Inflater#getAdler()
*
* @since 11
*/
public void setDictionary(ByteBuffer dictionary) {
synchronized (zsRef) {