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 type attribute can be add,update,fix,remove. + + Make RandomUtils.insecure() public. Bump org.hamcrest:hamcrest from 2.2 to 3.0 #1255. 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; }