EA-105962 - CCE: BackgroundUpdaterTask.updateComponent

This commit is contained in:
Sergey Ignatov
2017-08-21 20:20:53 +03:00
parent 235b76c552
commit aad7404d7d
@@ -59,7 +59,7 @@ public abstract class BackgroundUpdaterTask<T> extends Task.Backgroundable {
public BackgroundUpdaterTask(@Nullable Project project, @NotNull String title, @Nullable Comparator<PsiElement> comparator) {
super(project, title);
myData = new TreeSet<>(comparator);
myData = comparator == null ? ContainerUtil.newSmartList() : new TreeSet<>(comparator);
}
public void init(@NotNull AbstractPopup popup, @NotNull T component, @NotNull Ref<UsageView> usageView) {