maven-model RepositoryBase.equals() causes ClassCastException
-------------------------------------------------------------
Key: MNG-3240
URL: http://jira.codehaus.org/browse/MNG-3240
Project: Maven 2
Issue Type: Bug
Affects Versions: 2.0
Reporter: Jared Roberts
The equals(Object) method of RepositoryBase does not check the type of the
input before casting it to RepositoryBase. This behavior violates the contract
of Object.equals(Object) and causes ClassCastExceptions when any other type of
object is passed in.
--
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