mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-psi] Remove ensureValid check from normalizeWildcardTypeByPosition
It causes Psi traversal up to file which could be expensive GitOrigin-RevId: 42e64efcdfb52733b5497bf28582818567fe5efa
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e3490673cf
commit
16344fc69a
@@ -333,7 +333,6 @@ public final class PsiImplUtil {
|
||||
*/
|
||||
@Deprecated
|
||||
public static PsiType normalizeWildcardTypeByPosition(@NotNull PsiType type, @NotNull PsiExpression expression) {
|
||||
PsiUtilCore.ensureValid(expression);
|
||||
PsiUtil.ensureValidType(type);
|
||||
|
||||
PsiExpression topLevel = expression;
|
||||
|
||||
Reference in New Issue
Block a user