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

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

commit 625ac1d19fa8c940b33c14b068ba030be71c5734
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 17 08:12:04 2026 +0000

    Simplify redundant code
---
 src/main/java/org/apache/maven/plugins/toolchain/ToolchainMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/maven/plugins/toolchain/ToolchainMojo.java 
b/src/main/java/org/apache/maven/plugins/toolchain/ToolchainMojo.java
index a3ba458..e448560 100644
--- a/src/main/java/org/apache/maven/plugins/toolchain/ToolchainMojo.java
+++ b/src/main/java/org/apache/maven/plugins/toolchain/ToolchainMojo.java
@@ -149,7 +149,7 @@ public class ToolchainMojo extends AbstractMojo {
             throw new MojoExecutionException("Misconfigured toolchains.", ex);
         }
 
-        getLog().error("No toolchain " + ((typeFound == 0) ? "found" : 
("matched from " + typeFound + " found"))
+        getLog().error("No toolchain " + (typeFound == 0 ? "found" : ("matched 
from " + typeFound + " found"))
                 + " for type " + type);
 
         return false;

Reply via email to