- public ShardReadTransaction(DOMStoreReadTransaction transaction, ActorRef shardActor,
- SchemaContext schemaContext, ShardStats shardStats, String transactionID) {
- super(shardActor, schemaContext, shardStats, transactionID);
- this.transaction = transaction;
+ public ShardReadTransaction(final AbstractShardDataTreeTransaction<?> transaction, final ActorRef shardActor,
+ final ShardStats shardStats) {
+ super(shardActor, shardStats, transaction.getIdentifier());
+ this.transaction = requireNonNull(transaction);