Skip to content

Commit e3f25e0

Browse files
committed
Undo example change
1 parent 1549ffb commit e3f25e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/objects/equals_and_hashCode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ class Main {
6363
String c = "bca";
6464

6565
IO.println(a.hashCode());
66-
// a.equals(b) will return true, so they may or may not have the same hash code
66+
// a.equals(b) will return true, so they will have the same hash code
6767
IO.println(b.hashCode());
68-
// a.equals(c) will return false, so it's assumed they have a different hash code
68+
// a.equals(c) will return false, so they may or may not have the same hash code
6969
IO.println(c.hashCode());
7070

7171
Thing t1 = new Thing();

0 commit comments

Comments
 (0)