While the equals method ignores the parameters within the URL, the hashCode function doesn't.
This means that for two URLs with the same address but different parameters, equals will return true, but hashCode will return different values, which contradicts the definition of these methods (See Joshua Bloch's Effective Java). Function hashCode should ignore the parameters as well.
I'm planning to make some additions to this taglib, and would like to talk to the original author. If you hear this, please write to me to XXXXX@gmail.com (replace XXXXX with the user name in JIRA - this is used to avoid spam robots. |