mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Remove deprecated PathEnvironmentVariableUtil.findInPath(@NotNull String fileBaseName, boolean logDetails) {
This commit is contained in:
-14
@@ -76,20 +76,6 @@ public class PathEnvironmentVariableUtil {
|
||||
List<File> exeFiles = findExeFilesInPath(fileBaseName, true, filter, pathVariableValue);
|
||||
return ContainerUtil.getFirstItem(exeFiles);
|
||||
}
|
||||
/**
|
||||
* Finds an executable file with the specified base name, that is located in a directory
|
||||
* listed in PATH environment variable.
|
||||
*
|
||||
* @param fileBaseName file base name
|
||||
* @param logDetails true if extra logging is needed
|
||||
* @return {@link File} instance or null if not found
|
||||
*
|
||||
* @deprecated use {@link #findInPath(String)} instead
|
||||
*/
|
||||
@Nullable
|
||||
public static File findInPath(@NotNull String fileBaseName, boolean logDetails) {
|
||||
return findInPath(fileBaseName, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds an executable file with the specified base name, that is located in a directory
|
||||
|
||||
Reference in New Issue
Block a user