From 2fbf6d887c48ca62b3da4bd1a23dd734e6686f73 Mon Sep 17 00:00:00 2001 From: Alexey Loubyansky Date: Wed, 28 Feb 2024 14:31:03 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: George Gastaldi --- .../src/main/java/io/quarkus/deployment/BootstrapConfig.java | 2 +- .../bootstrap/resolver/maven/workspace/WorkspaceLoader.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/BootstrapConfig.java b/core/deployment/src/main/java/io/quarkus/deployment/BootstrapConfig.java index 1d6266c95d0ac..8f3e059be79f0 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/BootstrapConfig.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/BootstrapConfig.java @@ -26,7 +26,7 @@ public class BootstrapConfig { /** * If set to true, workspace loader will log warnings for modules that could not be loaded for some reason - * instead of throwing errors.. + * instead of throwing errors. */ @ConfigItem(defaultValue = "false") boolean warnOnFailingWorkspaceModules; diff --git a/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/workspace/WorkspaceLoader.java b/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/workspace/WorkspaceLoader.java index f629f817cfb64..604e541f2328a 100644 --- a/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/workspace/WorkspaceLoader.java +++ b/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/workspace/WorkspaceLoader.java @@ -138,7 +138,7 @@ LocalProject load() throws BootstrapMavenException { project = new LocalProject(modelBuilder.build(req), workspace); } catch (Exception e) { if (warnOnFailingWsModules) { - log.warn("Failed to resolve effective model for " + rawModel.getPomFile() + ": " + e); + log.warn("Failed to resolve effective model for " + rawModel.getPomFile(), e); return; } throw new RuntimeException("Failed to resolve the effective model for " + rawModel.getPomFile(), e);