This is an automated email from the ASF dual-hosted git repository. sebb 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 201f0946c Javadoc clarification 201f0946c is described below commit 201f0946c0ea5caabc89782072afe6aa3fca41ee Author: Sebb <s...@apache.org> AuthorDate: Sun Oct 22 15:29:37 2023 +0100 Javadoc clarification [skip ci] --- src/main/java/org/apache/commons/lang3/RandomUtils.java | 6 +++--- 1 file changed, 3 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 805773449..044c2c71f 100644 --- a/src/main/java/org/apache/commons/lang3/RandomUtils.java +++ b/src/main/java/org/apache/commons/lang3/RandomUtils.java @@ -63,7 +63,7 @@ public class RandomUtils { } /** - * Generates a random double within 0 - Double.MAX_VALUE. + * Generates a random double between 0 (inclusive) and Double.MAX_VALUE (exclusive). * * @return the random double * @see #nextDouble(double, double) @@ -98,7 +98,7 @@ public class RandomUtils { } /** - * Generates a random float within 0 - Float.MAX_VALUE. + * Generates a random float between 0 (inclusive) and Float.MAX_VALUE (exclusive). * * @return the random float * @see #nextFloat(float, float) @@ -133,7 +133,7 @@ public class RandomUtils { } /** - * Generates a random int within 0 - Integer.MAX_VALUE. + * Generates a random int between 0 (inclusive) and Integer.MAX_VALUE (exclusive). * * @return the random integer * @see #nextInt(int, int)