mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-451928 - F: GroovyShortNamesCache.getClassesByFQName
GitOrigin-RevId: 51e81ec383e87596eddef0268a318232b3889f74
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1796357cb5
commit
400781bc0a
+3
-3
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.execution.testDiscovery.actions;
|
||||
|
||||
import com.intellij.codeInsight.actions.VcsFacadeImpl;
|
||||
@@ -383,8 +383,8 @@ public class ShowAffectedTestsAction extends AnAction {
|
||||
@NotNull List<String> filePaths,
|
||||
@NotNull TestDiscoveryProducer.PsiTestProcessor processor) {
|
||||
List<Couple<String>> classesAndMethods =
|
||||
ReadAction.compute(() -> Arrays.stream(methods)
|
||||
.map(method -> getMethodKey(method)).filter(Objects::nonNull).collect(Collectors.toList()));
|
||||
ReadAction.nonBlocking(() -> Arrays.stream(methods)
|
||||
.map(method -> getMethodKey(method)).filter(Objects::nonNull).collect(Collectors.toList())).executeSynchronously();
|
||||
processTestDiscovery(project, processor, classesAndMethods, filePaths);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user