Use explicit types everywhere instead of var

This commit is contained in:
Daniel Garnier-Moiroux
2024-08-08 09:09:28 +02:00
committed by Rob Winch
parent 34d964eb08
commit 109da2719f
4 changed files with 8 additions and 7 deletions

View File

@@ -267,7 +267,7 @@ public class LdapUserDetailsManagerTests {
@Test
public void testRoleNamesStartWithCustomRolePrefix() {
var customPrefix = "GROUP_";
String customPrefix = "GROUP_";
this.mgr.setRolePrefix(customPrefix);
this.mgr.setUsernameMapper(new DefaultLdapUsernameToDnMapper("ou=people", "uid"));