Simplified HttpTunnelAddress.compareTo
This commit is contained in:
parent
bd184cc665
commit
3a65234df5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user