You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Igor Fedorenko (JIRA)" <ji...@codehaus.org> on 2009/06/20 22:56:15 UTC

[jira] Created: (MNG-4215) Review and fix hashCode/equals methods of ArtifactRepository implementations

Review and fix hashCode/equals methods of ArtifactRepository implementations
----------------------------------------------------------------------------

                 Key: MNG-4215
                 URL: http://jira.codehaus.org/browse/MNG-4215
             Project: Maven 2
          Issue Type: Sub-task
          Components: Artifacts and Repositories
            Reporter: Igor Fedorenko


DefaultMavenMetadataCache relies on proper hashCode/equals of ArtifactRepository and quick checks that at least some implementations do not honour hashCode/equals contract (for example, DelegatingLocalArtifactRepository and ReactorArtifactRepository).

-- 
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: (MNG-4215) Review and fix hashCode/equals methods of ArtifactRepository implementations

Posted by "Igor Fedorenko (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Fedorenko updated MNG-4215:
--------------------------------

    Attachment: MNG-4215.patch

Proposed fix

> Review and fix hashCode/equals methods of ArtifactRepository implementations
> ----------------------------------------------------------------------------
>
>                 Key: MNG-4215
>                 URL: http://jira.codehaus.org/browse/MNG-4215
>             Project: Maven 2
>          Issue Type: Sub-task
>          Components: Artifacts and Repositories
>            Reporter: Igor Fedorenko
>         Attachments: MNG-4215.patch
>
>
> DefaultMavenMetadataCache relies on proper hashCode/equals of ArtifactRepository and quick checks that at least some implementations do not honour hashCode/equals contract (for example, DelegatingLocalArtifactRepository and ReactorArtifactRepository).

-- 
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: (MNG-4215) Review and fix hashCode/equals methods of ArtifactRepository implementations

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-4215.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 3.0-alpha-3

Patch applied in [r788798|http://svn.apache.org/viewvc?view=rev&revision=788798], thanks Igor.

> Review and fix hashCode/equals methods of ArtifactRepository implementations
> ----------------------------------------------------------------------------
>
>                 Key: MNG-4215
>                 URL: http://jira.codehaus.org/browse/MNG-4215
>             Project: Maven 2
>          Issue Type: Sub-task
>          Components: Artifacts and Repositories
>            Reporter: Igor Fedorenko
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-alpha-3
>
>         Attachments: MNG-4215.patch
>
>
> DefaultMavenMetadataCache relies on proper hashCode/equals of ArtifactRepository and quick checks that at least some implementations do not honour hashCode/equals contract (for example, DelegatingLocalArtifactRepository and ReactorArtifactRepository).

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