return new VersionManagerDelegate(sessionDelegate);
}
private VersionManagerDelegate(SessionDelegate sessionDelegate) {
this.sessionDelegate = sessionDelegate;
this.versionManager = new ReadWriteVersionManager(
new VersionStorage(sessionDelegate.getRoot()),
sessionDelegate.getRoot()) {
@Override
protected void refresh() {
VersionManagerDelegate.this.sessionDelegate.refresh(true);