You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/05/03 13:25:48 UTC
[jira] Created: (MARTIFACT-16) DefaultArtifactVersion.hashCode()
violates general contract
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
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
[jira] Updated: (MARTIFACT-16) DefaultArtifactVersion.hashCode()
violates general contract
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MARTIFACT-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MARTIFACT-16:
----------------------------------
Fix Version/s: 3.0
> 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
[jira] Commented: (MARTIFACT-16) DefaultArtifactVersion.hashCode()
violates general contract
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (MARTIFACT-16) DefaultArtifactVersion.hashCode()
violates general contract
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Closed: (MARTIFACT-16) DefaultArtifactVersion.hashCode()
violates general contract
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MARTIFACT-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MARTIFACT-16.
---------------------------------
Assignee: Brett Porter
Resolution: Fixed
Fix Version/s: (was: 3.0)
3.0-alpha-1
thanks
> 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
> Assignee: Brett Porter
> Fix For: 3.0-alpha-1
>
> 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