Skip to content

Commit df76537

Browse files
committed
Update Formatting
Issue gh-15338
1 parent e69e0eb commit df76537

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/user/DefaultOAuth2User.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ public DefaultOAuth2User(Collection<? extends GrantedAuthority> authorities, Map
6969
String nameAttributeKey) {
7070
Assert.notEmpty(attributes, "attributes cannot be empty");
7171
Assert.hasText(nameAttributeKey, "nameAttributeKey cannot be empty");
72-
Assert.notNull(attributes.get(nameAttributeKey), "Attribute value for '" + nameAttributeKey + "' cannot be null");
72+
Assert.notNull(attributes.get(nameAttributeKey),
73+
"Attribute value for '" + nameAttributeKey + "' cannot be null");
7374

7475
this.authorities = (authorities != null)
7576
? Collections.unmodifiableSet(new LinkedHashSet<>(this.sortAuthorities(authorities)))

0 commit comments

Comments
 (0)