maven-model RepositoryBase overrides equals() but not hashCode()
----------------------------------------------------------------
Key: MNG-3266
URL: http://jira.codehaus.org/browse/MNG-3266
Project: Maven 2
Issue Type: Bug
Affects Versions: 2.0.7
Reporter: Jared Roberts
Priority: Minor
Overriding equals and not hashCode is considered bad practice. Also, while
looking around, I noticed the two subclasses (Repository and PluginRepository)
both override equals and just call "super.equals()". There is a cryptic comment
nearby that leads me to believe this is a temporary fix for an old problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira