mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-104500 Gradle: Allow to reuse common logic for other external systems
Correctly handle 'unavailable project' situation
This commit is contained in:
+4
-1
@@ -41,7 +41,10 @@ public class ExternalSystemIdeNotificationManager {
|
||||
@NotNull String externalProjectName,
|
||||
@NotNull ProjectSystemId externalSystemId)
|
||||
{
|
||||
ExternalSystemManager<?,?,?,?,?> manager = ExternalSystemApiUtil.getManager(externalSystemId);
|
||||
if (project.isDisposed() || !project.isOpen()) {
|
||||
return;
|
||||
}
|
||||
ExternalSystemManager<?, ?, ?, ?, ?> manager = ExternalSystemApiUtil.getManager(externalSystemId);
|
||||
if (!(manager instanceof ExternalSystemConfigurableAware)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user