Merge pull request #42 from CruzBishop/LocalAddressCompareFix

Small fix for LocalAddress.compareTo
This commit is contained in:
Norman Maurer 2011-11-05 23:51:33 -07:00
commit 47a3783d6c

View File

@ -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) {