Skip to content

Commit ffed864

Browse files
fix build
1 parent f50487f commit ffed864

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public int maxPoints(Point[] points) {
5151
int result = 0;
5252
for (int i = 0; i < points.length; i++) {
5353
map.clear();
54-
int overlap = 0, max = 0;
54+
int overlap = 0;
55+
int max = 0;
5556
for (int j = i + 1; j < points.length; j++) {
5657
int x = points[j].x - points[i].x;
5758
int y = points[j].y - points[i].y;
@@ -84,7 +85,6 @@ public int maxPoints(Point[] points) {
8485
}
8586

8687
private int generateGCD(int a, int b) {
87-
8888
if (b == 0) {
8989
return a;
9090
} else {

0 commit comments

Comments
 (0)