@Override public Editor childNodeChanged(String name, NodeState before, NodeState after) throws CommitFailedException { return createChildEditor(editor.childNodeChanged(name, before, after), name); }
@Override public Editor childNodeChanged( String name, NodeState before, NodeState after) throws CommitFailedException { List<Editor> list = Lists.newArrayListWithCapacity(editors.size()); for (Editor editor : editors) { Editor child = editor.childNodeChanged(name, before, after); if (child != null) { list.add(child); } } return compose(list); }
@Override public Editor childNodeChanged( String name, NodeState before, NodeState after) throws CommitFailedException { List<Editor> list = Lists.newArrayListWithCapacity(editors.size()); for (Editor editor : editors) { Editor child = editor.childNodeChanged(name, before, after); if (child != null) { list.add(child); } } return compose(list); }
@Override public Editor childNodeChanged(String name, NodeState before, NodeState after) throws CommitFailedException { return createChildEditor(editor.childNodeChanged(name, before, after), name); }
@Override public Editor childNodeChanged(String name, NodeState before, NodeState after) throws CommitFailedException { return createChildEditor(editor.childNodeChanged(name, before, after), name); }
@Override public Editor childNodeChanged(String name, NodeState before, NodeState after) throws CommitFailedException { return createChildEditor(editor.childNodeChanged(name, before, after), name); }
@Override public Editor childNodeChanged(String name, NodeState before, NodeState after) throws CommitFailedException { return createChildEditor(editor.childNodeChanged(name, before, after), name); }
@Override @Nonnull public Editor childNodeChanged( String name, NodeState before, NodeState after) throws CommitFailedException { List<Editor> children = newArrayListWithCapacity(1 + editors.size()); children.add(new IndexUpdate(this, name)); for (Editor editor : editors) { Editor child = editor.childNodeChanged(name, before, after); if (child != null) { children.add(child); } } return compose(children); }
@Override @Nullable public Editor childNodeChanged( String name, NodeState before, NodeState after) throws CommitFailedException { if (!isHidden(name)) { return wrap(editor.childNodeChanged(name, before, after)); } else { return null; } }
@Override @NotNull public Editor childNodeChanged( String name, NodeState before, NodeState after) throws CommitFailedException { List<Editor> children = newArrayListWithCapacity(1 + editors.size()); children.add(new IndexUpdate(this, name)); for (Editor editor : editors) { Editor child = editor.childNodeChanged(name, before, after); if (child != null) { children.add(child); } } return compose(children); }
@Override @NotNull public Editor childNodeChanged( String name, NodeState before, NodeState after) throws CommitFailedException { List<Editor> children = newArrayListWithCapacity(1 + editors.size()); children.add(new IndexUpdate(this, name)); for (Editor editor : editors) { Editor child = editor.childNodeChanged(name, before, after); if (child != null) { children.add(child); } } return compose(children); }
@Override @CheckForNull public Editor childNodeChanged( String name, NodeState before, NodeState after) throws CommitFailedException { if (!isHidden(name)) { return wrap(editor.childNodeChanged(name, before, after)); } else { return null; } }
@Override public Editor childNodeChanged(String name, NodeState before, NodeState after) throws CommitFailedException { return createChildEditor( editor.childNodeChanged(name, before, after), name); }
@Override public boolean childNodeChanged( String name, NodeState before, NodeState after) { try { Editor childEditor = editor.childNodeChanged(name, before, after); if (childEditor != null) { childEditor.enter(before, after); EditorDiff diff = new EditorDiff(childEditor); if (!after.compareAgainstBaseState(before, diff)) { exception = diff.exception; return false; } childEditor.leave(before, after); } return true; } catch (CommitFailedException e) { exception = e; return false; } }
@Override public boolean childNodeChanged( String name, NodeState before, NodeState after) { try { Editor childEditor = editor.childNodeChanged(name, before, after); if (childEditor != null) { childEditor.enter(before, after); EditorDiff diff = new EditorDiff(childEditor); if (!after.compareAgainstBaseState(before, diff)) { exception = diff.exception; return false; } childEditor.leave(before, after); } return true; } catch (CommitFailedException e) { exception = e; return false; } }