Verified Commit bc298ba6 authored by akwizgran's avatar akwizgran

Remove unnecessary final modifiers.

parent 2623eaa1
Pipeline #2481 passed with stage
in 10 minutes and 45 seconds
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment