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/06/29 12:22:52 UTC
(maven-gpg-plugin) branch null created (now d316392)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a change to branch null
in repository https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git
at d316392 Remove guaranteed true null check
This branch includes the following new commits:
new d316392 Remove guaranteed true null check
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-gpg-plugin) 01/01: Remove guaranteed true null check
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch null
in repository https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git
commit d31639224922768885c42920dead21c3f9ff3365
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sun Jun 29 08:22:42 2025 -0400
Remove guaranteed true null check
---
src/main/java/org/apache/maven/plugins/gpg/BcSigner.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/maven/plugins/gpg/BcSigner.java b/src/main/java/org/apache/maven/plugins/gpg/BcSigner.java
index d41eb11..6de774f 100644
--- a/src/main/java/org/apache/maven/plugins/gpg/BcSigner.java
+++ b/src/main/java/org/apache/maven/plugins/gpg/BcSigner.java
@@ -170,7 +170,7 @@ public class BcSigner extends AbstractGpgSigner {
return null;
}
List<String> socketLocations = Arrays.stream(agentSocketLocations.split(","))
- .filter(s -> s != null && !s.isEmpty())
+ .filter(s -> !s.isEmpty())
.collect(Collectors.toList());
for (String socketLocation : socketLocations) {
try {