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 2021/12/30 14:16:00 UTC

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

Michael Osipov created MRESOLVER-233:
----------------------------------------

             Summary: Make org.e.a.artifact.AbstractArtifact.newInstance() protected abstract
                 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
             Fix For: 1.8.0


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)