mirror of https://github.com/apache/activemq.git
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/
This commit is contained in:
parent
252dda94a3
commit
3faad9b357
|
@ -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…
Reference in New Issue