Skip to content

Commit 891e70d

Browse files
fix: correct parameter type in Point constructor
1 parent 1c51d36 commit 891e70d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sample-bots/java/MyFirstDroid/MyFirstDroid.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Point {
7575
public final double x;
7676
public final double y;
7777

78-
public Point(double x, Double y) {
78+
public Point(double x, double y) {
7979
this.x = x;
8080
this.y = y;
8181
}
@@ -90,4 +90,4 @@ class RobotColors {
9090
public Color radarColor;
9191
public Color scanColor;
9292
public Color bulletColor;
93-
}
93+
}

0 commit comments

Comments
 (0)