mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-30 08:42:13 +00:00
Update Formatting
Issue gh-15338
This commit is contained in:
parent
e69e0eb245
commit
df76537470
@ -69,7 +69,8 @@ public class DefaultOAuth2User implements OAuth2User, Serializable {
|
||||
String nameAttributeKey) {
|
||||
Assert.notEmpty(attributes, "attributes cannot be empty");
|
||||
Assert.hasText(nameAttributeKey, "nameAttributeKey cannot be empty");
|
||||
Assert.notNull(attributes.get(nameAttributeKey), "Attribute value for '" + nameAttributeKey + "' cannot be null");
|
||||
Assert.notNull(attributes.get(nameAttributeKey),
|
||||
"Attribute value for '" + nameAttributeKey + "' cannot be null");
|
||||
|
||||
this.authorities = (authorities != null)
|
||||
? Collections.unmodifiableSet(new LinkedHashSet<>(this.sortAuthorities(authorities)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user