@Override
    public List<Artifact> getArtifacts() {
        if (artifacts == null) {
            return Collections.emptyList();
        }

        return Collections.unmodifiableList(artifacts);
    }
@ Override public List < Artifact > getArtifacts ( ) { if ( artifacts == null ) { return Collections . emptyList ( ) ; } return Collections . unmodifiableList ( artifacts ) ; }
@return the artifacts