throw new RepositoryException("Failed to copy content", e);
}
}
private static EditorProvider createTypeEditorProvider() {
return new EditorProvider() {
@Override
public Editor getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
throws CommitFailedException {
Editor rootEditor = new TypeEditorProvider(false)
.getRootEditor(before, after, builder, info);