mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-CR-27820 got rid of unnecessary ModifiableRootModel
This commit is contained in:
+1
-2
@@ -276,8 +276,7 @@ public class MavenFoldersImporter {
|
||||
Module module = mavenProjectsManager.findModule(containingProject);
|
||||
if (module == null) return false;
|
||||
|
||||
ModifiableRootModel rootModel = ModuleRootManager.getInstance(module).getModifiableModel();
|
||||
for (ContentEntry contentEntry : rootModel.getContentEntries()) {
|
||||
for (ContentEntry contentEntry : ModuleRootManager.getInstance(module).getContentEntries()) {
|
||||
if (contentEntry.getUrl().equals(sourceFolderUrl)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user