Skip to content

Commit b60e21c

Browse files
authored
Update 01_Comparable.md
1 parent 4430899 commit b60e21c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ch03/01_Comparable.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ x.compareTo(x)== 0
125125
class Integer implements Comparable<Integer> {
126126
...
127127
public int compareTo(Integer that) {
128-
return this.value < that.value ? -1 :
129-
this.value == that.value ? 0 : 1 ;
130-
}
128+
return this.value < that.value ? -1 :
129+
this.value == that.value ? 0 : 1 ;
130+
}
131131
...
132132
}
133133
```

0 commit comments

Comments
 (0)