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 5ccbfa55c Make RandomUtils.insecure() public 5ccbfa55c is described below commit 5ccbfa55c11a68624eb44cc82037861fff13d793 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Aug 7 18:50:52 2024 -0400 Make RandomUtils.insecure() public --- src/changes/changes.xml | 2 ++ src/main/java/org/apache/commons/lang3/RandomUtils.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 033bbec92..01e7a86d8 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -46,6 +46,8 @@ The <action> type attribute can be add,update,fix,remove. </properties> <body> <release version="3.16.1" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required."> + <!-- ADD --> + <action type="add" dev="ggregory" due-to="Gary Gregory">Make RandomUtils.insecure() public.</action> <!-- UPDATE --> <action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.hamcrest:hamcrest from 2.2 to 3.0 #1255.</action> </release> diff --git a/src/main/java/org/apache/commons/lang3/RandomUtils.java b/src/main/java/org/apache/commons/lang3/RandomUtils.java index 5a5851419..219afa5a9 100644 --- a/src/main/java/org/apache/commons/lang3/RandomUtils.java +++ b/src/main/java/org/apache/commons/lang3/RandomUtils.java @@ -82,9 +82,9 @@ public class RandomUtils { * @return the singleton instance based on {@link ThreadLocalRandom#current()}. * @see ThreadLocalRandom#current() * @see #secure() - * @since 3.16.0 + * @since 3.17.0 */ - static RandomUtils insecure() { + public static RandomUtils insecure() { return INSECURE; }