[ 
http://jira.codehaus.org/browse/MARTIFACT-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138524#action_138524
 ] 

Benjamin Bentmann commented on MARTIFACT-16:
--------------------------------------------

Brett, you could simply add the unit test and closed this issue as fixed. Hervé 
already fixed it in 
[r656776|http://svn.apache.org/viewvc?view=rev&revision=656776].

> DefaultArtifactVersion.hashCode() violates general contract
> -----------------------------------------------------------
>
>                 Key: MARTIFACT-16
>                 URL: http://jira.codehaus.org/browse/MARTIFACT-16
>             Project: Maven Artifact
>          Issue Type: Bug
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>             Fix For: 3.0
>
>         Attachments: default-artifact-version-hashcode.patch
>
>
> Compare 
> [{{Object.hashCode()}}|http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()]
>  and [Effective Java, Chapter 3, "Methods Common to All 
> Objects"|http://java.sun.com/docs/books/effective/chapters.html].

-- 
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


Reply via email to