Skip to content

Commit

Permalink
Replace deprecated RandomStringUtils API usage in RecordedRequestsTest (
Browse files Browse the repository at this point in the history
  • Loading branch information
sleberknight authored Sep 1, 2024
1 parent 3deef80 commit f2a1e4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ void shouldThrowUncheckedInterruptedException_IfInterruptedExceptionIsThrown() t
}

private static String randomPath() {
return "/" + RandomStringUtils.randomAlphabetic(10);
return "/" + RandomStringUtils.secure().nextAlphabetic(10);
}

private void makeRequest(String path) {
Expand Down

0 comments on commit f2a1e4a

Please sign in to comment.