mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix CCE in project loading during offline inspections
This commit is contained in:
@@ -288,7 +288,9 @@ public class ProjectImpl extends PlatformComponentManagerImpl implements Project
|
||||
long time = System.currentTimeMillis() - start;
|
||||
LOG.info(getComponentConfigCount() + " project components initialized in " + time + " ms");
|
||||
|
||||
if (!isDefault() && !ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
if (!isDefault() &&
|
||||
!ApplicationManager.getApplication().isUnitTestMode() &&
|
||||
!ApplicationManager.getApplication().isHeadlessEnvironment()) {
|
||||
distributeProgress();
|
||||
}
|
||||
ApplicationManager.getApplication().getMessageBus().syncPublisher(ProjectLifecycleListener.TOPIC).projectComponentsInitialized(this);
|
||||
|
||||
Reference in New Issue
Block a user