GitOrigin-RevId: d0cd21a408a92379fc18cc0a08c3e5cb5f140dec
This commit is contained in:
Anna Kozlova
2020-08-07 07:50:32 +00:00
committed by intellij-monorepo-bot
parent 2452e02986
commit 2a6c4de72e
@@ -446,8 +446,11 @@ public class I18nizeQuickFixDialog extends DialogWrapper implements I18nizeQuick
return I18nUtil.defaultSuggestPropertiesFiles(myProject, myContextModules);
}
@Nullable
protected PropertiesFile getPropertiesFile() {
return getPropertyFileByPath(FileUtil.toSystemIndependentName(getPropertiesFilePath()));
String path = getPropertiesFilePath();
if (path == null) return null;
return getPropertyFileByPath(FileUtil.toSystemIndependentName(path));
}
private String getPropertiesFilePath() {