cstamas commented on code in PR #61:
URL: 
https://github.com/apache/maven-install-plugin/pull/61#discussion_r1450094040


##########
src/test/java/org/apache/maven/plugins/install/stubs/InstallArtifactStub.java:
##########
@@ -85,8 +85,8 @@ public void addMetadata(ArtifactMetadata metadata) {
         }
     }
 
-    public Collection getMetadataList() {
-        return metadataMap == null ? Collections.EMPTY_LIST : 
metadataMap.values();
+    public Collection<ArtifactMetadata> getMetadataList() {
+        return metadataMap == null ? Collections.emptyList() : 
metadataMap.values();

Review Comment:
   This is a method of a stub, and test is happy, IMHO is irrelevant. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to