This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 5b7bab87b Javadoc Add missing @since 3.16.0
5b7bab87b is described below
commit 5b7bab87b3d837ebc7cb101954735dfc65492ada
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Dec 22 17:45:42 2025 -0500
Javadoc Add missing @since 3.16.0
Sentence ends in a period.
---
src/main/java/org/apache/commons/lang3/RandomUtils.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/RandomUtils.java
b/src/main/java/org/apache/commons/lang3/RandomUtils.java
index 91dae9bd9..b29bd7f6e 100644
--- a/src/main/java/org/apache/commons/lang3/RandomUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RandomUtils.java
@@ -174,7 +174,7 @@ public static float nextFloat() {
* @param startInclusive the smallest value that can be returned, must be
non-negative.
* @param endExclusive the upper bound (not included).
* @throws IllegalArgumentException if {@code startInclusive >
endExclusive} or if {@code startInclusive} is negative.
- * @return the random float
+ * @return the random float.
* @deprecated Use {@link #secure()}, {@link #secureStrong()}, or {@link
#insecure()}.
*/
@Deprecated
@@ -309,7 +309,7 @@ public boolean randomBoolean() {
*
* @param count the size of the returned array.
* @return the random byte array.
- * @throws IllegalArgumentException if {@code count} is negative
+ * @throws IllegalArgumentException if {@code count} is negative.
* @since 3.16.0
*/
public byte[] randomBytes(final int count) {
@@ -336,7 +336,7 @@ public double randomDouble() {
* @param startInclusive the smallest value that can be returned, must be
non-negative.
* @param endExclusive the upper bound (not included).
* @throws IllegalArgumentException if {@code startInclusive >
endExclusive} or if {@code startInclusive} is negative.
- * @return the random double
+ * @return the random double.
* @since 3.16.0
*/
public double randomDouble(final double startInclusive, final double
endExclusive) {
@@ -366,6 +366,7 @@ public float randomFloat() {
* @param endExclusive the upper bound (not included).
* @throws IllegalArgumentException if {@code startInclusive >
endExclusive} or if {@code startInclusive} is negative.
* @return the random float.
+ * @since 3.16.0
*/
public float randomFloat(final float startInclusive, final float
endExclusive) {
Validate.isTrue(endExclusive >= startInclusive, "Start value must be
smaller or equal to end value.");