Skip to content

Commit 99f372c

Browse files
Revert code
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 parent 72c3bad commit 99f372c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cas/src/main/java/org/springframework/security/cas/web/authentication/DefaultServiceAuthenticationDetails.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public boolean equals(Object obj) {
7575
if (this == obj) {
7676
return true;
7777
}
78-
if (!(obj instanceof DefaultServiceAuthenticationDetails that)) {
78+
if (!super.equals(obj) || !(obj instanceof DefaultServiceAuthenticationDetails that)) {
7979
return false;
8080
}
8181
return this.serviceUrl.equals(that.getServiceUrl());

0 commit comments

Comments
 (0)