*/
public static <T> SnapshotBackedReadTransaction<T> newReadTransaction(final T identifier,
final boolean debug, final DataTreeSnapshot snapshot) {
- return new SnapshotBackedReadTransaction<T>(identifier, debug, snapshot);
+ return new SnapshotBackedReadTransaction<>(identifier, debug, snapshot);
}
/**
*/
public static <T> SnapshotBackedReadWriteTransaction<T> newReadWriteTransaction(final T identifier,
final boolean debug, final DataTreeSnapshot snapshot, final TransactionReadyPrototype<T> readyImpl) {
- return new SnapshotBackedReadWriteTransaction<T>(identifier, debug, snapshot, readyImpl);
+ return new SnapshotBackedReadWriteTransaction<>(identifier, debug, snapshot, readyImpl);
}
/**
*/
public static <T> SnapshotBackedWriteTransaction<T> newWriteTransaction(final T identifier,
final boolean debug, final DataTreeSnapshot snapshot, final TransactionReadyPrototype<T> readyImpl) {
- return new SnapshotBackedWriteTransaction<T>(identifier, debug, snapshot, readyImpl);
+ return new SnapshotBackedWriteTransaction<>(identifier, debug, snapshot, readyImpl);
}
}