mirror of
https://github.com/apache/activemq.git
synced 2025-02-23 02:27:23 +00:00
Use simpler SLF4J API functions
Eliminates the need to construct a new (temporary) Object array object. These changes were suggested by SLF4J Helper for NetBeans IDE: http://plugins.netbeans.org/plugin/72557/ (cherry picked from commit 3faad9b3574336413166f348ca2438c9a7f7cce1)
This commit is contained in:
parent
ab032655e1
commit
f556247646
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user