- super(parent, identifier);
- this.snapshot = Preconditions.checkNotNull(snapshot);
+ super(parent, identifier, false);
+ this.snapshot = requireNonNull(snapshot);
+ }
+
+ LocalReadOnlyProxyTransaction(final ProxyHistory parent, final TransactionIdentifier identifier) {
+ super(parent, identifier, true);
+ // It is an error to touch snapshot once we are DONE
+ snapshot = null;