Polish
See gh-19995
This commit is contained in:
committed by
Stephane Nicoll
parent
afb67887da
commit
e6d5f5a271
@@ -326,7 +326,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
/**
|
||||
* Provides access to the java binary executable, regardless of OS.
|
||||
* @return the java executable
|
||||
**/
|
||||
*/
|
||||
protected String getJavaExecutable() {
|
||||
Toolchain toolchain = this.toolchainManager.getToolchainFromBuildContext("jdk", this.session);
|
||||
String javaExecutable = (toolchain != null) ? toolchain.findTool("java") : null;
|
||||
|
||||
Reference in New Issue
Block a user