fix compareTo

This commit is contained in:
Norman Maurer 2011-11-06 07:55:30 +01:00
parent e4bd678846
commit a555949cb5

View File

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