diff --git a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MultiKahaDBPersistenceAdapter.java b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MultiKahaDBPersistenceAdapter.java index 4e1f0c50ab..c83e86b6d8 100644 --- a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MultiKahaDBPersistenceAdapter.java +++ b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MultiKahaDBPersistenceAdapter.java @@ -202,7 +202,7 @@ public class MultiKahaDBPersistenceAdapter extends LockableServiceSupport implem } } startAdapter(filteredAdapter.getPersistenceAdapter(), destination.getQualifiedName()); - LOG.debug("destination {} matched persistence adapter {}", new Object[]{destination.getQualifiedName(), filteredAdapter.getPersistenceAdapter()}); + LOG.debug("destination {} matched persistence adapter {}", destination.getQualifiedName(), filteredAdapter.getPersistenceAdapter()); return filteredAdapter.getPersistenceAdapter(); } diff --git a/activemq-ra/src/main/java/org/apache/activemq/ra/LocalAndXATransaction.java b/activemq-ra/src/main/java/org/apache/activemq/ra/LocalAndXATransaction.java index 1dd7423e6a..75d691b1b5 100644 --- a/activemq-ra/src/main/java/org/apache/activemq/ra/LocalAndXATransaction.java +++ b/activemq-ra/src/main/java/org/apache/activemq/ra/LocalAndXATransaction.java @@ -132,7 +132,7 @@ public class LocalAndXATransaction implements XAResource, LocalTransaction { public Xid[] recover(int arg0) throws XAException { Xid[] answer = null; - LOG.trace("{} recover({})", new Object[]{this, arg0}); + LOG.trace("{} recover({})", this, arg0); answer = transactionContext.recover(arg0); LOG.trace("{} recover({}) = {}", new Object[]{this, arg0, answer}); return answer;