do {
entry = getSnapshot();
- ret = new SnapshotBackedReadWriteTransaction<T>(transactionId,
+ ret = new SnapshotBackedReadWriteTransaction<>(transactionId,
getDebugTransactions(), entry.getValue(), this);
} while (!recordTransaction(entry.getKey(), ret));
do {
entry = getSnapshot();
- ret = new SnapshotBackedWriteTransaction<T>(transactionId,
+ ret = new SnapshotBackedWriteTransaction<>(transactionId,
getDebugTransactions(), entry.getValue(), this);
} while (!recordTransaction(entry.getKey(), ret));
* @return A {@link DOMStoreThreePhaseCommitCohort} cohort.
*/
protected abstract DOMStoreThreePhaseCommitCohort createCohort(
- final SnapshotBackedWriteTransaction<T> transaction, final DataTreeModification modification);
+ SnapshotBackedWriteTransaction<T> transaction, DataTreeModification modification);
}