fix compareTo
This commit is contained in:
parent
e4bd678846
commit
a555949cb5
@ -114,7 +114,7 @@ public final class LocalAddress extends SocketAddress implements Comparable<Loca
|
||||
}
|
||||
|
||||
int a = System.identityHashCode(this);
|
||||
int b = System.identityHashCode(this);
|
||||
int b = System.identityHashCode(o);
|
||||
if (a < b) {
|
||||
return -1;
|
||||
} else if (a > b) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user