mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
revert optimization, — we have to reinit all modules for component because we don't know affected module
This commit is contained in:
+3
-4
@@ -46,11 +46,10 @@ public class ProjectWithModulesStoreImpl extends ProjectStoreImpl {
|
||||
}
|
||||
|
||||
for (Module module : getPersistentModules()) {
|
||||
if (((ModuleStoreImpl)((ModuleImpl)module).getStateStore()).reinitComponent(componentName, reloadData)) {
|
||||
return true;
|
||||
}
|
||||
// we have to reinit all modules for component because we don't know affected module
|
||||
((ModuleStoreImpl)((ModuleImpl)module).getStateStore()).reinitComponent(componentName, reloadData);
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user