mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
LaterInvocatorTest.testStress failure investigation
This commit is contained in:
+1
-1
@@ -299,7 +299,7 @@ public class LaterInvocator {
|
||||
|
||||
public static Object[] getCurrentModalEntitiesForProject(Project project) {
|
||||
ApplicationManager.getApplication().assertIsDispatchThread();
|
||||
if (ourModalEntities.isEmpty()) {
|
||||
if (project == null || !ourModalEntities.isEmpty()) {
|
||||
return ArrayUtil.toObjectArray(ourModalEntities);
|
||||
}
|
||||
return ArrayUtil.toObjectArray(projectToModalEntities.get(project));
|
||||
|
||||
Reference in New Issue
Block a user