Fixed toString() format.
This commit is contained in:
parent
3efc6acf0b
commit
59d78c9754
@ -32,6 +32,6 @@ public class Point2 {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return String.format("(%d, %d", x, y);
|
return String.format("(%d, %d)", x, y);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user