Fix formatting

This commit is contained in:
Mario Petrovski 2023-09-01 16:10:16 +02:00 committed by Josh Cummings
parent 35e5533a4b
commit 5e0ea6ce8a
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ public final class ScopeAuthorizationManagerFactory {
}
public static <T> AuthorityAuthorizationManager<T> hasAnyScope(String... scopes) {
String[] mappedScopes = Arrays.stream(scopes).map((String s) -> "SCOPE_" + s)
.toArray(String[]::new);
String[] mappedScopes = Arrays.stream(scopes).map((String s) -> "SCOPE_" + s).toArray(String[]::new);
return AuthorityAuthorizationManager.hasAnyAuthority(mappedScopes);
}
}