mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-28293 - IAE: FileUtil.pathsEqual
This commit is contained in:
@@ -102,7 +102,8 @@ public class PyPluginCommonOptionsForm implements AbstractPyCommonOptionsForm {
|
||||
final List<Sdk> allSdks = PythonSdkType.getAllSdks();
|
||||
Sdk selection = null;
|
||||
for (Sdk sdk : allSdks) {
|
||||
if (FileUtil.pathsEqual(sdk.getHomePath(), sdkHome)) selection = sdk;
|
||||
String homePath = sdk.getHomePath();
|
||||
if (homePath != null && FileUtil.pathsEqual(homePath, sdkHome)) selection = sdk;
|
||||
sdkList.add(sdk);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user