NodeBuilder system = builder.child(JCR_SYSTEM);
if (!system.hasChildNode(JCR_VERSIONSTORAGE)) {
return null;
}
NodeBuilder versionStorage = system.child(JCR_VERSIONSTORAGE);
return new VisibleEditor(new CompositeEditor(
new VersionEditor(versionStorage, builder, info),
new SubtreeEditor(
new VersionStorageEditor(versionStorage, builder),
JCR_SYSTEM, JCR_VERSIONSTORAGE)));
}