From a9514042fd407020c45c97e9be9b1f2248e1efb6 Mon Sep 17 00:00:00 2001 From: David B Malkovsky Date: Thu, 7 Nov 2024 15:38:19 -0500 Subject: [PATCH] Chore: explicit type can be replaced with <> (#500) * Chore: explicit type can be replaced with <> * Chore: explicit type can be replaced with <> --- src/test/java/org/isf/security/TokenProviderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/isf/security/TokenProviderTest.java b/src/test/java/org/isf/security/TokenProviderTest.java index 31e303ab..413c60ec 100644 --- a/src/test/java/org/isf/security/TokenProviderTest.java +++ b/src/test/java/org/isf/security/TokenProviderTest.java @@ -353,7 +353,7 @@ void testGetAuthenticationByUsername() throws OHServiceException, OHException { user.setPasswd("password"); // Mock permissions with same values used in the helper - List permissions = new ArrayList(); + List permissions = new ArrayList<>(); Permission permission = new Permission(); permission.setName("ROLE_USER"); permissions.add(permission);