From 03095b391547cd4d04338e5f87a7ddf5751548ab Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Tue, 2 Jul 2024 08:49:33 +0200 Subject: [PATCH] Fix Toolchain toString() method --- .../apache/maven/internal/impl/DefaultToolchainManager.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java b/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java index ea353e0bcb8f..ca509bc1e15d 100644 --- a/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java +++ b/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java @@ -107,5 +107,10 @@ public String findTool(String toolName) { public boolean matchesRequirements(Map requirements) { return ((ToolchainPrivate) toolchain).matchesRequirements(requirements); } + + @Override + public String toString() { + return toolchain.toString(); + } } }