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 9eb5d09b0 [LANG-1794] Fix Javadoc for RandomUtils.secure() incorrectly
mentions securerandom.strongAlgorithms (#1503)
9eb5d09b0 is described below
commit 9eb5d09b0f7e96d18aaf35c5c1c62decbacd5c7e
Author: IcoreE <[email protected]>
AuthorDate: Wed Nov 26 23:42:11 2025 +0800
[LANG-1794] Fix Javadoc for RandomUtils.secure() incorrectly mentions
securerandom.strongAlgorithms (#1503)
---
src/main/java/org/apache/commons/lang3/RandomUtils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/RandomUtils.java
b/src/main/java/org/apache/commons/lang3/RandomUtils.java
index b5c81e1e3..918f8193e 100644
--- a/src/main/java/org/apache/commons/lang3/RandomUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RandomUtils.java
@@ -237,8 +237,8 @@ public static long nextLong(final long startInclusive,
final long endExclusive)
}
/**
- * Gets the singleton instance based on {@link
SecureRandom#SecureRandom()} which uses an algorithms/providers
- * specified in the {@code securerandom.strongAlgorithms} {@link Security}
property.
+ * Gets the singleton instance based on {@link
SecureRandom#SecureRandom()} which uses the default algorithm
+ * and provider of {@link SecureRandom}.
* <p>
* The method {@link SecureRandom#SecureRandom()} is called on-demand.
* </p>