You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/09/09 16:09:00 UTC

[jira] [Created] (SLING-10795) Enforce contract of ArtifactDescriptor.getArtifact

Carsten Ziegeler created SLING-10795:
----------------------------------------

             Summary: Enforce contract of ArtifactDescriptor.getArtifact
                 Key: SLING-10795
                 URL: https://issues.apache.org/jira/browse/SLING-10795
             Project: Sling
          Issue Type: Improvement
          Components: Feature Model Analyser
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Feature Model Analyser 1.3.40


It is currently not explicitely stated but the getArtifact() method of the ArtifactDescriptor should always return an artifact.
However, in the case of embedded packages it is currently returning null

The contract needs to be stated as well as the implementation updated.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)