Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Mar 1, 2024
1 parent c2326c6 commit 87ff9f7
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -1076,7 +1076,7 @@ public void execute() throws MojoExecutionException, CompilationFailureException
try {
if (fork) {
if (compilerConfiguration.getExecutable() != null) {
getLog().debug("Excutable: ");
getLog().debug("Executable: ");
getLog().debug(" " + compilerConfiguration.getExecutable());
}
}
Expand Down Expand Up @@ -1496,14 +1496,13 @@ private String getMemoryValue(String setting) {
return value;
}

// TODO remove the part with ToolchainManager lookup once we depend on
// 3.0.9 (have it as prerequisite). Define as regular component field then.
protected final Toolchain getToolchain() {
Toolchain tc = null;

if (jdkToolchain != null) {
// Maven 3.3.1 has plugin execution scoped Toolchain Support
// require Maven 3.3.1, that has plugin execution scoped Toolchain support MNG-5755
try {
// TODO use direct method invocation when prerequisite upgraded to Maven 3.3.1
Method getToolchainsMethod = toolchainManager
.getClass()
.getMethod("getToolchains", MavenSession.class, String.class, Map.class);
Expand Down

0 comments on commit 87ff9f7

Please sign in to comment.