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);