diff --git a/src/changes/changes.xml b/src/changes/changes.xml index fa8864e67..3f970210f 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -46,6 +46,7 @@ The type attribute can be add,update,fix,remove. + Javadoc pointing to Commons RNG. Add more SystemUtils.IS_JAVA_XX variants. Adding the Functions class. Update to JUnit 5 diff --git a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java index 96bbe3585..9fe6684fd 100644 --- a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java +++ b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java @@ -37,6 +37,11 @@ import java.util.Random; * of {@link Random} are not cryptographically secure. Consider instead using a more * cryptographically secure pseudo-random number generator, for which we have no utility class.

* + *

We would like to further note to users that the Apache Commons Project has + * a component entirely dedicated to random number generation, namely + * Commons RNG. For a more extensive + * treatment of random numbers, we suggest that the user use this library.

+ * *

#ThreadSafe#

* @since 1.0 */ diff --git a/src/main/java/org/apache/commons/lang3/RandomUtils.java b/src/main/java/org/apache/commons/lang3/RandomUtils.java index 790fd891d..6f1b3b9dd 100644 --- a/src/main/java/org/apache/commons/lang3/RandomUtils.java +++ b/src/main/java/org/apache/commons/lang3/RandomUtils.java @@ -25,6 +25,11 @@ import java.util.Random; * secure. Consider instead using a more cryptographically secure pseudo-random * number generator, for which we have no utility class.

* + *

We would like to further note to users that the Apache Commons Project has + * a component entirely dedicated to random number generation, namely + * Commons RNG. For a more extensive + * treatment of random numbers, we suggest that the user use this library.

+ * * @since 3.3 */ public class RandomUtils {