Skip to content
Snippets Groups Projects
Verified Commit bc298ba6 authored by akwizgran's avatar akwizgran
Browse files

Remove unnecessary final modifiers.

parent 2623eaa1
No related branches found
No related tags found
1 merge request!945Transactional DB interface
Pipeline #2481 passed
......@@ -171,7 +171,7 @@ class DatabaseComponentImpl<T> implements DatabaseComponent {
@Override
public <E extends Exception> void transaction(boolean readOnly,
DbRunnable<E> task) throws DbException, E {
final Transaction txn = startTransaction(readOnly);
Transaction txn = startTransaction(readOnly);
try {
task.run(txn);
commitTransaction(txn);
......@@ -183,7 +183,7 @@ class DatabaseComponentImpl<T> implements DatabaseComponent {
@Override
public <R, E extends Exception> R transactionWithResult(boolean readOnly,
DbCallable<R, E> task) throws DbException, E {
final Transaction txn = startTransaction(readOnly);
Transaction txn = startTransaction(readOnly);
try {
R result = task.call(txn);
commitTransaction(txn);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment