Skip to content

Commit 5b7bab8

Browse files
committed
Javadoc Add missing @SInCE 3.16.0
Sentence ends in a period.
1 parent 37bfc6e commit 5b7bab8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/org/apache/commons/lang3/RandomUtils.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public static float nextFloat() {
174174
* @param startInclusive the smallest value that can be returned, must be non-negative.
175175
* @param endExclusive the upper bound (not included).
176176
* @throws IllegalArgumentException if {@code startInclusive > endExclusive} or if {@code startInclusive} is negative.
177-
* @return the random float
177+
* @return the random float.
178178
* @deprecated Use {@link #secure()}, {@link #secureStrong()}, or {@link #insecure()}.
179179
*/
180180
@Deprecated
@@ -309,7 +309,7 @@ public boolean randomBoolean() {
309309
*
310310
* @param count the size of the returned array.
311311
* @return the random byte array.
312-
* @throws IllegalArgumentException if {@code count} is negative
312+
* @throws IllegalArgumentException if {@code count} is negative.
313313
* @since 3.16.0
314314
*/
315315
public byte[] randomBytes(final int count) {
@@ -336,7 +336,7 @@ public double randomDouble() {
336336
* @param startInclusive the smallest value that can be returned, must be non-negative.
337337
* @param endExclusive the upper bound (not included).
338338
* @throws IllegalArgumentException if {@code startInclusive > endExclusive} or if {@code startInclusive} is negative.
339-
* @return the random double
339+
* @return the random double.
340340
* @since 3.16.0
341341
*/
342342
public double randomDouble(final double startInclusive, final double endExclusive) {
@@ -366,6 +366,7 @@ public float randomFloat() {
366366
* @param endExclusive the upper bound (not included).
367367
* @throws IllegalArgumentException if {@code startInclusive > endExclusive} or if {@code startInclusive} is negative.
368368
* @return the random float.
369+
* @since 3.16.0
369370
*/
370371
public float randomFloat(final float startInclusive, final float endExclusive) {
371372
Validate.isTrue(endExclusive >= startInclusive, "Start value must be smaller or equal to end value.");

0 commit comments

Comments
 (0)