- ShardTransactionCreator(TransactionType type, AbstractShardDataTreeTransaction<?> transaction,
- ActorRef shardActor, DatastoreContext datastoreContext, ShardStats shardStats) {
- this.transaction = Preconditions.checkNotNull(transaction);
+ ShardTransactionCreator(final TransactionType type, final AbstractShardDataTreeTransaction<?> transaction,
+ final ActorRef shardActor, final DatastoreContext datastoreContext, final ShardStats shardStats) {
+ this.transaction = requireNonNull(transaction);