mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
EA-83400 - IAE: GotoActionModel$ActionWrapper.<init>
This commit is contained in:
@@ -86,8 +86,9 @@ public class GotoActionItemProvider implements ChooseByNameItemProvider {
|
||||
private boolean processAbbreviations(final String pattern, Processor<MatchedValue> consumer, DataContext context) {
|
||||
List<String> actionIds = AbbreviationManager.getInstance().findActions(pattern);
|
||||
JBIterable<MatchedValue> wrappers = JBIterable.from(actionIds)
|
||||
.transform(actionId -> {
|
||||
AnAction action = myActionManager.getAction(actionId);
|
||||
.transform(myActionManager::getAction)
|
||||
.filter(Condition.NOT_NULL)
|
||||
.transform(action -> {
|
||||
ActionWrapper wrapper = new ActionWrapper(action, myModel.myActionGroups.get(action), MatchMode.NAME, context);
|
||||
return new MatchedValue(wrapper, pattern) {
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user