This is an automated email from the ASF dual-hosted git repository.

chtompki 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 3f43706  LANG-1442: Commons-RNG citation
3f43706 is described below

commit 3f43706192b1b75c5023f165534a12b192c31442
Author: Rob Tompkins <chtom...@gmail.com>
AuthorDate: Sat Apr 6 09:02:56 2019 -0400

    LANG-1442: Commons-RNG citation
---
 src/changes/changes.xml                                       | 1 +
 src/main/java/org/apache/commons/lang3/RandomStringUtils.java | 5 +++++
 src/main/java/org/apache/commons/lang3/RandomUtils.java       | 5 +++++
 3 files changed, 11 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index fa8864e..3f97021 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
   <body>
 
   <release version="3.9" date="????-??-??" description="??">
+    <action issue="LANG-1442" type="add" dev="chtompki">Javadoc pointing to 
Commons RNG.</action>
     <action issue="LANG-1416" type="update" dev="britter">Add more 
SystemUtils.IS_JAVA_XX variants.</action>
     <action                   type="add" dev="jochen">Adding the Functions 
class.</action>
     <action issue="LANG-1416" type="update" dev="britter">Update to JUnit 
5</action>
diff --git a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java 
b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
index 96bbe35..9fe6684 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.</p>
  *
+ * <p>We would like to further note to users that the Apache Commons Project 
has
+ * a component entirely dedicated to random number generation, namely
+ * <a href="http://commons.apache.org/rng";>Commons RNG</a>. For a more 
extensive
+ * treatment of random numbers, we suggest that the user use this library.</p>
+ *
  * <p>#ThreadSafe#</p>
  * @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 790fd89..6f1b3b9 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.</p>
  *
+ * <p>We would like to further note to users that the Apache Commons Project 
has
+ * a component entirely dedicated to random number generation, namely
+ * <a href="http://commons.apache.org/rng";>Commons RNG</a>. For a more 
extensive
+ * treatment of random numbers, we suggest that the user use this library.</p>
+ *
  * @since 3.3
  */
 public class RandomUtils {

Reply via email to