You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/06/13 13:50:12 UTC
[jira] Commented: (MARTIFACT-16) DefaultArtifactVersion.hashCode()
violates general contract
[ http://jira.codehaus.org/browse/MARTIFACT-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138519#action_138519 ]
Brett Porter commented on MARTIFACT-16:
---------------------------------------
I agree we should fix this, but 'm going to hesitate in case we have nay map keys relying on DefaultArtifactVersion. We'll need to take a close look at this.
> 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