Commit acad5e82 authored by Adam Blank's avatar Adam Blank
Browse files

Merge branch 'lab09fix' into 'master'

Fix equals method in the Point class.

See merge request !2
1 merge request!2Fix equals method in the Point class.
Pipeline #10078 canceled with stage
Showing with 1 addition and 1 deletion
+1 -1
......@@ -27,7 +27,7 @@ public class Point {
* this point, or false otherwise.
*/
@Override
public boolean equals(Point point) {
public boolean equals(Object point) {
if (!(point instanceof Point)) {
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment