Skip to content

Commit b3a55bb

Browse files
fix build
1 parent 9ad9a96 commit b3a55bb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/main/java/com/fishercoder/solutions/_1496.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,14 @@ public Coord(int x, int y) {
5050

5151
@Override
5252
public boolean equals(Object o) {
53-
if (this == o) return true;
54-
if (o == null || getClass() != o.getClass()) return false;
53+
if (this == o) {
54+
return true;
55+
}
56+
if (o == null || getClass() != o.getClass()) {
57+
return false;
58+
}
5559
Coord coord = (Coord) o;
56-
return x == coord.x &&
57-
y == coord.y;
60+
return x == coord.x && y == coord.y;
5861
}
5962

6063
@Override

0 commit comments

Comments
 (0)