You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/01/27 20:12:00 UTC

[jira] [Assigned] (MRESOLVER-233) Add protected abstract org.e.a.artifact.AbstractArtifact.newInstance()

     [ https://issues.apache.org/jira/browse/MRESOLVER-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov reassigned MRESOLVER-233:
----------------------------------------

    Assignee:     (was: Michael Osipov)

> Add protected abstract org.e.a.artifact.AbstractArtifact.newInstance()
> ----------------------------------------------------------------------
>
>                 Key: MRESOLVER-233
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-233
>             Project: Maven Resolver
>          Issue Type: Task
>          Components: Resolver
>    Affects Versions: 1.7.3
>            Reporter: Michael Osipov
>            Priority: Major
>
> This method has two issues:
> * It lacks abstraction that it relies on a subtype which should be unknown here
> * with an abstract method every derived type can properly return again a derived type instead of having {{DefaultArtifact}} which loses details.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)