Simplified HttpTunnelAddress.compareTo

This commit is contained in:
Trustin Lee 2009-03-12 06:20:02 +00:00
parent bd184cc665
commit 3a65234df5

View File

@ -62,7 +62,7 @@ public class HttpTunnelAddress extends SocketAddress implements Comparable<HttpT
} }
public int compareTo(HttpTunnelAddress o) { public int compareTo(HttpTunnelAddress o) {
return getUri().toASCIIString().compareTo(o.getUri().toASCIIString()); return getUri().compareTo(o.getUri());
} }
@Override @Override