Skip to content

Commit 87ff9f7

Browse files
committed
update comments
1 parent c2326c6 commit 87ff9f7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ public void execute() throws MojoExecutionException, CompilationFailureException
10761076
try {
10771077
if (fork) {
10781078
if (compilerConfiguration.getExecutable() != null) {
1079-
getLog().debug("Excutable: ");
1079+
getLog().debug("Executable: ");
10801080
getLog().debug(" " + compilerConfiguration.getExecutable());
10811081
}
10821082
}
@@ -1496,14 +1496,13 @@ private String getMemoryValue(String setting) {
14961496
return value;
14971497
}
14981498

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

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

0 commit comments

Comments
 (0)