Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5-RC5.1
Description
URLs are not suitable for use as Set or Map keys because their equals() and hashCode() methods are not well defined. URIs should be used to identify the location and URLs to access the actual resources.
Specifically:
[1] "More Joy of Sets" example with URL from Google Tech Talks:
http://www.youtube.com/watch?v=wDN_EYUvUq0#t=9m58s