ice4j
ice4j copied to clipboard
TransportAddress does not implement equals and hashCode
trafficstars
The TransportAddress class does not override the equals (just some specialized versions provided) and hashcode methods. This redirects those calls to InetSocketAddress. Therefore 2 TransportAddress objects having the same underlying InetAddress but a different Transport will be equal making handling them using Sets impossible (and pretty confusing).