Skip to content

Commit

Permalink
fix checkstyle violations (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
eemhu authored Dec 2, 2024
1 parent 67f9d1d commit eb358bc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main/java/com/teragrep/aer_02/json/JsonRecords.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,14 @@ public String[] records() {

@Override
public boolean equals(Object o) {
if (this == o)
if (this == o) {
return true;
if (o == null || getClass() != o.getClass())
}

if (o == null || getClass() != o.getClass()) {
return false;
}

JsonRecords that = (JsonRecords) o;
return Objects.equals(event, that.event);
}
Expand Down

0 comments on commit eb358bc

Please sign in to comment.