Skip to content

Commit

Permalink
refactor: change comparison to equals
Browse files Browse the repository at this point in the history
  • Loading branch information
deepthidevaki committed Apr 22, 2022
1 parent 82eb7dd commit aaca9e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private void calculateHealth() {
final var previousReport = healthReport;
healthReport = calculateStatus();

if (previousReport.getStatus() == healthReport.getStatus()) {
if (previousReport.equals(healthReport)) {
return;
}

Expand Down

0 comments on commit aaca9e3

Please sign in to comment.