You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2025/02/24 14:32:55 UTC

(maven-install-plugin) branch master updated: Remove pointless cast (#122)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new f408f64  Remove pointless cast (#122)
f408f64 is described below

commit f408f645353df0cb5fafbb74046b95fbc2e7ec67
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Mon Feb 24 14:32:49 2025 +0000

    Remove pointless cast (#122)
---
 src/main/java/org/apache/maven/plugins/install/InstallMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugins/install/InstallMojo.java b/src/main/java/org/apache/maven/plugins/install/InstallMojo.java
index 63c34e2..d002520 100644
--- a/src/main/java/org/apache/maven/plugins/install/InstallMojo.java
+++ b/src/main/java/org/apache/maven/plugins/install/InstallMojo.java
@@ -212,7 +212,7 @@ public class InstallMojo implements org.apache.maven.api.plugin.Mojo {
             }
         }
 
-        return ArtifactInstallerRequest.build(session, (Collection) installables);
+        return ArtifactInstallerRequest.build(session, installables);
     }
 
     private boolean isValidPath(Artifact a) {