From 201f0946c0ea5caabc89782072afe6aa3fca41ee Mon Sep 17 00:00:00 2001 From: Sebb Date: Sun, 22 Oct 2023 15:29:37 +0100 Subject: [PATCH] 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)