mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
assert that rangeInElement is inside the descriptor range to avoid surprising "index out of range" exceptions
This commit is contained in:
@@ -77,7 +77,7 @@ public class UnsupportedFeatures extends CompatibilityVisitor {
|
||||
|
||||
@NotNull
|
||||
private static IntentionAction createIntention(@NotNull PsiElement node, @NotNull String message, @NotNull LocalQuickFix localQuickFix) {
|
||||
return createIntention(node, node.getTextRange(), message, localQuickFix);
|
||||
return createIntention(node, null, message, localQuickFix);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user