New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc. fixes #257

Open
wants to merge 10 commits into
base: master
from

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/
  • Loading branch information...
Daniel Trebbien
Daniel Trebbien committed Jul 29, 2017
commit 1e879b5997fd01df545501960e347d2fc333ca30
@@ -203,7 +203,7 @@ private PersistenceAdapter getMatchingPersistenceAdapter(ActiveMQDestination des
}
}
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 int prepare(Xid arg0) throws XAException {
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;
ProTip! Use n and p to navigate between commits in a pull request.