Merge pull request #42 from CruzBishop/LocalAddressCompareFix
Small fix for LocalAddress.compareTo
This commit is contained in:
commit
47a3783d6c
@ -115,7 +115,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…
Reference in New Issue
Block a user