diff --git a/src/main/java/org/apache/commons/lang3/RandomUtils.java b/src/main/java/org/apache/commons/lang3/RandomUtils.java index c8d4bdcc3..229363981 100644 --- a/src/main/java/org/apache/commons/lang3/RandomUtils.java +++ b/src/main/java/org/apache/commons/lang3/RandomUtils.java @@ -226,7 +226,7 @@ public class RandomUtils { *

Returns a random float within 0 - Float.MAX_VALUE

* * @return the random float - * @see #nextFloat() + * @see #nextFloat(float, float) * @since 3.5 */ public static float nextFloat() { diff --git a/src/test/java/org/apache/commons/lang3/RandomUtilsTest.java b/src/test/java/org/apache/commons/lang3/RandomUtilsTest.java index beab1ad40..6a0a2434a 100644 --- a/src/test/java/org/apache/commons/lang3/RandomUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/RandomUtilsTest.java @@ -137,7 +137,7 @@ public class RandomUtilsTest { } /** - * Tests next double range, random result. + * Tests next int range, random result. */ @Test public void testNextIntRandomResult() {