Skip to content

Commit

Permalink
Make RandomUtils.insecure() public
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Aug 7, 2024
1 parent c49dc48 commit 5ccbfa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/apache/commons/lang3/RandomUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5ccbfa5

Please sign in to comment.