- protected AbstractDOMBrokerTransaction(final Object identifier, Map<LogicalDatastoreType, ? extends DOMStoreTransactionFactory> storeTxFactories) {
- this.identifier = Preconditions.checkNotNull(identifier, "Identifier should not be null");
- this.storeTxFactories = Preconditions.checkNotNull(storeTxFactories, "Store Transaction Factories should not be null");
- this.backingTxs = new EnumMap(LogicalDatastoreType.class);
+ protected AbstractDOMBrokerTransaction(final Object identifier,
+ Map<LogicalDatastoreType, ? extends DOMStoreTransactionFactory> storeTxFactories) {
+ this.identifier = requireNonNull(identifier, "Identifier should not be null");
+ this.storeTxFactories = requireNonNull(storeTxFactories, "Store Transaction Factories should not be null");
+ this.backingTxs = new EnumMap<>(LogicalDatastoreType.class);