Skip to content

Commit 5401dbd

Browse files
author
Alex Klymenko
committed
checkstyle: fix "eedBraces: 'if' construct must use '{}'s"
1 parent 2d0a69e commit 5401dbd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/test/java/com/thealgorithms/sorts/SortingAlgorithmTest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,12 @@ public String toString() {
306306

307307
@Override
308308
public boolean equals(Object o) {
309-
if (this == o) return true;
310-
if (o == null || getClass() != o.getClass()) return false;
309+
if (this == o) {
310+
return true;
311+
}
312+
if (o == null || getClass() != o.getClass()) {
313+
return false;
314+
}
311315
CustomObject that = (CustomObject) o;
312316
return value == that.value;
313317
}

0 commit comments

Comments
 (0)