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 // * @return List
// */ // */
// List getJavadocFolders(); // List getJavadocDirectories();
} }

View File

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