Skip to content

Commit

Permalink
fixes some retarded line
Browse files Browse the repository at this point in the history
  • Loading branch information
Nansess authored Dec 9, 2024
1 parent 2bfe8c0 commit f2fca71
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ private boolean isTokenExpired() {
}

private boolean isTokenCheckRequired() {
if (!tokenValidityChecked && isTokenExpired()) {
tokenValidityChecked = true;
return true;
}
return false;
return (!tokenValidityChecked && isTokenExpired()) && (tokenValidityChecked = true);
}

private void parseTokenData() throws IOException {
Expand Down

0 comments on commit f2fca71

Please sign in to comment.