You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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).
The text was updated successfully, but these errors were encountered: