Directories, not folders

This commit is contained in:
Michael Osipov 2022-12-18 16:36:16 +01:00
parent a1d43778ef
commit 46c84876d7
2 changed files with 3 additions and 3 deletions

View File

@ -60,5 +60,5 @@ public interface JavaToolchain extends Toolchain {
// *
// * @return List
// */
// List getJavadocFolders();
// List getJavadocDirectories();
}

View File

@ -60,8 +60,8 @@ class JavaToolchainImpl extends DefaultToolchain implements JavaToolchain {
return null;
}
private static File findTool(String toolName, File installFolder) {
File bin = new File(installFolder, "bin"); // NOI18N
private static File findTool(String toolName, File installDir) {
File bin = new File(installDir, "bin"); // NOI18N
if (bin.exists()) {
File tool = new File(bin, toolName + (Os.isFamily("windows") ? ".exe" : "")); // NOI18N
if (tool.exists()) {