mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
external system: reuse module library w/o name model
This commit is contained in:
+1
-1
@@ -185,7 +185,7 @@ public class LibraryDependencyDataService extends AbstractDependencyDataService<
|
||||
moduleLibraryKey.add(ExternalSystemApiUtil.getLocalFileSystemPath(file) + moduleLibraryOrderEntry.getScope().name());
|
||||
}
|
||||
LibraryDependencyData existing = moduleLibrariesToImport.remove(moduleLibraryKey);
|
||||
if (existing == null || !StringUtil.equals(existing.getInternalName(), library.getName())) {
|
||||
if (existing == null || !StringUtil.equals(StringUtil.nullize(existing.getInternalName()), library.getName())) {
|
||||
moduleRootModel.removeOrderEntry(entry);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user