rootTree.reset(secureHead);</BUG>
}
@Nonnull
private PermissionProvider createPermissionProvider() {
return securityProvider.getAccessControlConfiguration().getPermissionProvider(this, subject.getPrincipals());
<BUG>}
@Nonnull
private TreeTypeProviderImpl getTypeProvider() {
return new TreeTypeProviderImpl(securityProvider.getAccessControlConfiguration().getContext());</BUG>
}

private void purgePendingChanges() {
branch.setRoot(getRootState());
reset();
}
private void reset() {
NodeState root = branch.getHead();
secureHead = new SecureNodeState(root, getRootContext(root));
rootTree.reset(secureHead);
}
@Nonnull
private PermissionProvider createPermissionProvider() {
return securityProvider.getAccessControlConfiguration().getPermissionProvider(this, subject.getPrincipals());
}
