Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.0.0-beta-5
-
None
-
None
Description
For example ProjectManager.getAllArtifacts() returns a List<ProducedArtifact> while ArtifactDeployerRequestBuilder.artifacts accepts a List<Artifact>, and the first one cannot be cast to the second.
So we need to make the types minimal. Probably List<? extends ProducedArtifact> and Iterable<? extends Artifact> to be as large as possible.