mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
assertion text
This commit is contained in:
+5
@@ -166,4 +166,9 @@ public class InjectedFileViewProvider extends SingleRootFileViewProvider {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Injected file '"+getVirtualFile().getName()+"' " + (isValid() ? "" : " invalid") + (physical ? "" : " nonphysical");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,7 +144,7 @@ public abstract class RedBlackTree<K> {
|
||||
|
||||
Node<K> e = n;
|
||||
while (e.getParent() != null) e = e.getParent();
|
||||
assert e == root; // assert the node belongs to our tree
|
||||
assert e == root : e; // assert the node belongs to our tree
|
||||
|
||||
if (n.getLeft() != null && n.getRight() != null) {
|
||||
// Copy key/value from predecessor and then delete it instead
|
||||
|
||||
Reference in New Issue
Block a user