Skip to content

Commit

Permalink
fix: logUtil debug日志错误
Browse files Browse the repository at this point in the history
  • Loading branch information
fuhouyu committed Oct 28, 2024
1 parent bf9f04e commit 07824c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static void error(Logger logger, String msg, Object... args) {
*/
public static void debug(Logger logger, String msg, Object... args) {
if (logger.isDebugEnabled()) {
logger.error(msg, args);
logger.debug(msg, args);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@Getter
@Setter
@ToString
public class TokenEntity implements Entity<TokenEntity> {
public class TokenEntity implements Entity<OAuth2AccessToken> {

@Serial
private static final long serialVersionUID = 1897123986123785612L;
Expand All @@ -55,7 +55,7 @@ public TokenEntity(OAuth2AccessToken accessToken, OAuth2RefreshToken refreshToke
}

@Override
public boolean sameIdentityAs(TokenEntity other) {
public boolean sameIdentityAs(OAuth2AccessToken other) {
return EqualsBuilder.reflectionEquals(this, other);
}
}

0 comments on commit 07824c9

Please sign in to comment.