diff --git a/plugins/devkit/devkit-core/src/dom/impl/ActionOrGroupResolveConverter.java b/plugins/devkit/devkit-core/src/dom/impl/ActionOrGroupResolveConverter.java index af8cdb1ebb59..d69c1c23453c 100644 --- a/plugins/devkit/devkit-core/src/dom/impl/ActionOrGroupResolveConverter.java +++ b/plugins/devkit/devkit-core/src/dom/impl/ActionOrGroupResolveConverter.java @@ -165,9 +165,9 @@ public class ActionOrGroupResolveConverter extends ResolvingConverter plugins, PairProcessor processor) { - for (IdeaPlugin plugin: plugins) { + for (IdeaPlugin plugin : plugins) { final Map forFile = collectForFile(plugin); - for (Map.Entry entry: forFile.entrySet()) { + for (Map.Entry entry : forFile.entrySet()) { if (!processor.process(entry.getKey(), entry.getValue())) return false; } } @@ -178,22 +178,22 @@ public class ActionOrGroupResolveConverter extends ResolvingConverter { Map result = new HashMap<>(); - for (Actions actions: plugin.getActions()) { + for (Actions actions : plugin.getActions()) { collectRecursive(result, actions); } - return CachedValueProvider.Result.create(result, xmlFile); + return CachedValueProvider.Result.create(result, DomManager.getDomManager(xmlFile.getProject())); }); } private static void collectRecursive(Map result, Actions actions) { - for (Action action: actions.getActions()) { + for (Action action : actions.getActions()) { final String name = getName(action); if (!StringUtil.isEmptyOrSpaces(name)) { result.put(name, action); } } - for (Group group: actions.getGroups()) { + for (Group group : actions.getGroups()) { final String name = getName(group); if (!StringUtil.isEmptyOrSpaces(name)) { result.put(name, group);