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 11:30:12 UTC
(maven-install-plugin) branch cast created (now 21d94e7)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a change to branch cast
in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git
at 21d94e7 Remove pointless cast
This branch includes the following new commits:
new 21d94e7 Remove pointless cast
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-install-plugin) 01/01: Remove pointless cast
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch cast
in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git
commit 21d94e72542fbcda42f926da49e351d555a17ccb
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Feb 24 06:30:04 2025 -0500
Remove pointless cast
---
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) {