Skip to content

Commit

Permalink
#1322: Fix object comparing using Objects.equals()
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonpoo authored and ludomikula committed Nov 27, 2024
1 parent 91215b2 commit 18be56b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ protected Connection getAuthConnection(AuthUser authUser, User user) {
return user.getConnections()
.stream()
.filter(connection -> authUser.getSource().equals(connection.getSource())
&& connection.getRawId().equals(authUser.getUid()))
&& Objects.equals(connection.getRawId(), authUser.getUid()))
.findFirst()
.get();
}
Expand Down

0 comments on commit 18be56b

Please sign in to comment.