mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
wildcardize parameters correctly
GitOrigin-RevId: 1041f4afb9f7970c1f28f79909a5a3a8ed6750af
This commit is contained in:
committed by
intellij-monorepo-bot
parent
48022d959e
commit
679a71cd40
@@ -37,7 +37,7 @@ public final class OptimizeImportsRefactoringHelper implements RefactoringHelper
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<PsiJavaFile> prepareOperation(UsageInfo @NotNull [] usages, @NotNull List<@NotNull PsiElement> elements) {
|
||||
public Set<PsiJavaFile> prepareOperation(UsageInfo @NotNull [] usages, @NotNull List<? extends @NotNull PsiElement> elements) {
|
||||
Set<PsiJavaFile> movedFiles = ContainerUtil.map2SetNotNull(elements, e -> ObjectUtils.tryCast(e.getContainingFile(), PsiJavaFile.class));
|
||||
return ContainerUtil.union(movedFiles, prepareOperation(usages));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user