Skip to content

Commit

Permalink
Merge pull request #505 from /issues/504-depracated-api
Browse files Browse the repository at this point in the history
Fix #504: RandomStringGenerator.Builder#build is deprecated
  • Loading branch information
banterCZ authored Sep 6, 2024
2 parents 06f1efe + fd0166c commit 07d125c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public static void signatureLargeDataTest(final VerifySignatureStepModel model,
new RandomStringGenerator.Builder()
.withinRange('0', 'z')
.filteredBy(CharacterPredicates.LETTERS, CharacterPredicates.DIGITS)
.build();
.get();
final String randomString = randomStringGenerator.generate(10000);
fw.write(randomString);
fw.close();
Expand Down

0 comments on commit 07d125c

Please sign in to comment.