mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 15:06:56 +07:00
[java-psi] checkPersistentElementRemoval: use logger instead of exception (IJ-CR-7608)
GitOrigin-RevId: 3eb5b6f71c7286ab1c8f7f85fbd308bc5bfe2187
This commit is contained in:
committed by
intellij-monorepo-bot
parent
67e7993386
commit
b566b6e97d
@@ -172,7 +172,7 @@ public class PsiBinaryExpressionImpl extends ExpressionPsiElement implements Psi
|
||||
if (inside) {
|
||||
int role = getChildRole(node);
|
||||
if (role == ChildRole.OPERATION_SIGN || role == ChildRole.LOPERAND) {
|
||||
throw new IncorrectOperationException("Unable to remove child with role " + role + "(" + node.getElementType() + ")");
|
||||
LOG.error("Unable to remove child with role " + role + "(" + node.getElementType() + ")");
|
||||
}
|
||||
}
|
||||
if (node.getPsi() == last) {
|
||||
|
||||
Reference in New Issue
Block a user