Make RandomUtils.insecure() public

This commit is contained in:
Gary Gregory 2024-08-07 18:50:52 -04:00
parent c49dc4893f
commit 5ccbfa55c1
2 changed files with 4 additions and 2 deletions

View File

@ -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>

View File

@ -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;
}