mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix settings import
This commit is contained in:
@@ -111,6 +111,7 @@ public class ConfigImportHelper {
|
||||
return new ConfigImportSettings();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private static File findOldConfigDir(String newConfigPath, @Nullable String customPathSelector) {
|
||||
final File configDir = new File(newConfigPath);
|
||||
final File selectorDir = CONFIG_RELATED_PATH.length() == 0 ? configDir : configDir.getParentFile();
|
||||
@@ -130,7 +131,7 @@ public class ConfigImportHelper {
|
||||
for (File file : parent.listFiles(new FilenameFilter() {
|
||||
@Override
|
||||
public boolean accept(File file, String name) {
|
||||
return name.startsWith(prefix);
|
||||
return StringUtil.startsWithIgnoreCase(name, prefix);
|
||||
}
|
||||
})) {
|
||||
final File options = new File(file, CONFIG_RELATED_PATH + OPTIONS_XML);
|
||||
|
||||
Reference in New Issue
Block a user