boolean () { for (InstallPluginInfo info : myInstallingInfos.values()) { info.toBackground(myStatusBar); } if (FINISH_DYNAMIC_INSTALLATION_WITHOUT_UI) { return !myInstallingInfos.isEmpty(); } else { // FIXME(vadim.salavatov) idk what that does and it's not clear from the surrounding code :( boolean result = !myInstallingInfos.isEmpty(); if (result) { InstallPluginInfo.showRestart(); } return result; } }