mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Rollback assertion
This commit is contained in:
@@ -33,7 +33,6 @@ import com.intellij.util.diff.DiffTreeChangeBuilder;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -174,8 +173,6 @@ public class DiffLog implements DiffTreeChangeBuilder<ASTNode,ASTNode> {
|
||||
|
||||
private InsertEntry(@NotNull ASTNode oldParent, @NotNull ASTNode newNode, int pos) {
|
||||
assert oldParent instanceof CompositeElement : oldParent;
|
||||
assert pos>=0 : pos;
|
||||
assert pos<=oldParent.getChildren(null).length : pos + " "+ Arrays.toString(oldParent.getChildren(null));
|
||||
myOldParent = oldParent;
|
||||
myNewNode = newNode;
|
||||
myPos = pos;
|
||||
|
||||
Reference in New Issue
Block a user