From eb358bce7269f8c3186e85973c9b71b4e04de77a Mon Sep 17 00:00:00 2001 From: eemhu <125959687+eemhu@users.noreply.github.com> Date: Mon, 2 Dec 2024 13:39:52 +0200 Subject: [PATCH] fix checkstyle violations (#41) --- src/main/java/com/teragrep/aer_02/json/JsonRecords.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/teragrep/aer_02/json/JsonRecords.java b/src/main/java/com/teragrep/aer_02/json/JsonRecords.java index a89733a..5567ef9 100644 --- a/src/main/java/com/teragrep/aer_02/json/JsonRecords.java +++ b/src/main/java/com/teragrep/aer_02/json/JsonRecords.java @@ -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); }