From fd0166c426dff17c466e496503218468629bf834 Mon Sep 17 00:00:00 2001 From: Lubos Racansky Date: Tue, 3 Sep 2024 08:17:22 +0200 Subject: [PATCH] Fix #504: RandomStringGenerator.Builder#build is deprecated --- .../powerauth/test/shared/PowerAuthSignatureShared.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerauth-backend-tests/src/test/java/com/wultra/security/powerauth/test/shared/PowerAuthSignatureShared.java b/powerauth-backend-tests/src/test/java/com/wultra/security/powerauth/test/shared/PowerAuthSignatureShared.java index 721a9d07..ea9e852c 100644 --- a/powerauth-backend-tests/src/test/java/com/wultra/security/powerauth/test/shared/PowerAuthSignatureShared.java +++ b/powerauth-backend-tests/src/test/java/com/wultra/security/powerauth/test/shared/PowerAuthSignatureShared.java @@ -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();