mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
supported additional spring configurations (AnnotationConfigApplicationContext), refactored filesets and spring processors
This commit is contained in:
@@ -32,6 +32,8 @@ import com.intellij.ui.ColoredListCellRenderer;
|
||||
import com.intellij.ui.SimpleTextAttributes;
|
||||
import com.intellij.ui.popup.list.ListPopupImpl;
|
||||
import com.intellij.util.Processor;
|
||||
import com.intellij.util.containers.hash.*;
|
||||
import com.intellij.util.containers.hash.HashSet;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -39,6 +41,7 @@ import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.util.*;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -207,7 +210,7 @@ public class GotoRelatedFileAction extends AnAction {
|
||||
}
|
||||
}
|
||||
|
||||
List<GotoRelatedItem> items = new ArrayList<GotoRelatedItem>();
|
||||
Set<GotoRelatedItem> items = new HashSet<GotoRelatedItem> ();
|
||||
|
||||
for (GotoRelatedProvider provider : Extensions.getExtensions(GotoRelatedProvider.EP_NAME)) {
|
||||
items.addAll(provider.getItems(contextElement));
|
||||
@@ -215,7 +218,7 @@ public class GotoRelatedFileAction extends AnAction {
|
||||
items.addAll(provider.getItems(dataContext));
|
||||
}
|
||||
}
|
||||
return items;
|
||||
return new ArrayList<GotoRelatedItem>(items);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
package com.intellij.util.xml.model.impl;
|
||||
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.psi.xml.XmlFile;
|
||||
import com.intellij.util.NullableFunction;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
|
||||
Reference in New Issue
Block a user