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

ggregory 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 37bfc6e7f Javadoc
37bfc6e7f is described below

commit 37bfc6e7f46abeea1c7c56be0ebb199e9cb6d2e7
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Dec 22 10:54:58 2025 -0500

    Javadoc
    
    [LANG-1807] Make private static variables final in RandomUtils and fix
    the Javadoc for the insecure() methods in both RandomUtils and
    RandomStringUtils
---
 src/main/java/org/apache/commons/lang3/RandomStringUtils.java | 4 ++--
 src/main/java/org/apache/commons/lang3/RandomUtils.java       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java 
b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
index b29231dee..aae4f3446 100644
--- a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
@@ -104,8 +104,7 @@ public class RandomStringUtils {
 
     /**
      * Gets the singleton instance based on {@link 
ThreadLocalRandom#current()}; <b>which is not cryptographically
-     * secure</b>; use {@link #secure()} to use an algorithms/providers 
specified in the
-     * {@code securerandom.strongAlgorithms} {@link Security} property.
+     * secure</b>; for more secure processing use {@link #secure()} or {@link 
#secureStrong()}.
      * <p>
      * The method {@link ThreadLocalRandom#current()} is called on-demand.
      * </p>
@@ -113,6 +112,7 @@ public class RandomStringUtils {
      * @return the singleton instance based on {@link 
ThreadLocalRandom#current()}.
      * @see ThreadLocalRandom#current()
      * @see #secure()
+     * @see #secureStrong()
      * @since 3.16.0
      */
     public static RandomStringUtils insecure() {
diff --git a/src/main/java/org/apache/commons/lang3/RandomUtils.java 
b/src/main/java/org/apache/commons/lang3/RandomUtils.java
index d57da7577..91dae9bd9 100644
--- a/src/main/java/org/apache/commons/lang3/RandomUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RandomUtils.java
@@ -88,8 +88,7 @@ public class RandomUtils {
 
     /**
      * Gets the singleton instance based on {@link 
ThreadLocalRandom#current()}; <b>which is not cryptographically
-     * secure</b>; use {@link #secure()} to use an algorithms/providers 
specified in the
-     * {@code securerandom.strongAlgorithms} {@link Security} property.
+     * secure</b>; for more secure processing use {@link #secure()} or {@link 
#secureStrong()}.
      * <p>
      * The method {@link ThreadLocalRandom#current()} is called on-demand.
      * </p>
@@ -97,6 +96,7 @@ public class RandomUtils {
      * @return the singleton instance based on {@link 
ThreadLocalRandom#current()}.
      * @see ThreadLocalRandom#current()
      * @see #secure()
+     * @see #secureStrong()
      * @since 3.17.0
      */
     public static RandomUtils insecure() {

Reply via email to