mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
avoid NPE during trace (EA-47968)
This commit is contained in:
@@ -508,7 +508,8 @@ public class TreeChangeImpl implements TreeChange {
|
||||
buffer.append("(");
|
||||
buffer.append(node.getElementType().toString());
|
||||
buffer.append(" at ").append(pair.getSecond()).append(", ");
|
||||
buffer.append(getChangeByChild(node).toString());
|
||||
ChangeInfo child = getChangeByChild(node);
|
||||
buffer.append(child != null ? child.toString():"null");
|
||||
buffer.append(")");
|
||||
if(iterator.hasNext()) buffer.append(", ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user