Skip to content

Commit 4ce3fad

Browse files
committed
Add @nullable to DefaultOidcUser.equals()
Issue gh-18622
1 parent 9527a4b commit 4ce3fad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/oidc/user

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public OidcIdToken getIdToken() {
118118
}
119119

120120
@Override
121-
public boolean equals(Object obj) {
121+
public boolean equals(@Nullable Object obj) {
122122
if (this == obj) {
123123
return true;
124124
}

0 commit comments

Comments
 (0)