Small fix for LocalAddress.compareTo when both this and o are ephermal
This commit is contained in:
parent
cc758aa3b6
commit
8df2524bb0
@ -115,7 +115,7 @@ public final class LocalAddress extends SocketAddress implements Comparable<Loca
|
|||||||
}
|
}
|
||||||
|
|
||||||
int a = System.identityHashCode(this);
|
int a = System.identityHashCode(this);
|
||||||
int b = System.identityHashCode(this);
|
int b = System.identityHashCode(o);
|
||||||
if (a < b) {
|
if (a < b) {
|
||||||
return -1;
|
return -1;
|
||||||
} else if (a > b) {
|
} else if (a > b) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user