Fix deprecation warnings and checkstyle in benchmarks
[controller.git] / benchmark / dsbenchmark / src / main / java / org / opendaylight / dsbenchmark / txchain / TxchainBaDelete.java
index fb4d02887114252be3e30b345e7c97b20ff63040..5455162e2f3cdf9bfb98f9a4feece0464a3716a7 100644 (file)
@@ -80,8 +80,8 @@ public class TxchainBaDelete extends DatastoreAbstractWriter implements Transact
                     }
 
                     @Override
-                    public void onFailure(final Throwable t) {
-                        LOG.error("Transaction failed, {}", t);
+                    public void onFailure(final Throwable cause) {
+                        LOG.error("Transaction failed", cause);
                         txError++;
                     }
                 }, MoreExecutors.directExecutor());