You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/07/25 23:58:48 UTC
activemq-artemis git commit: NO-JIRA traced on the RA
Repository: activemq-artemis
Updated Branches:
refs/heads/master b6b48a589 -> e5be68606
NO-JIRA traced on the RA
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/e5be6860
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/e5be6860
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/e5be6860
Branch: refs/heads/master
Commit: e5be6860646ab780b8ce0df7a7c5dce8a10d4a4d
Parents: b6b48a5
Author: Clebert Suconic <cl...@apache.org>
Authored: Tue Jul 25 19:07:34 2017 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Tue Jul 25 19:07:34 2017 -0400
----------------------------------------------------------------------
.../org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e5be6860/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java
----------------------------------------------------------------------
diff --git a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java
index aa2a099..990d9e4 100644
--- a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java
+++ b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java
@@ -638,7 +638,7 @@ public class ActiveMQResourceAdapter implements ResourceAdapter, Serializable {
* @param cacheDestinations The value
*/
public void setCacheDestinations(final Boolean cacheDestinations) {
- if (ActiveMQResourceAdapter.trace) {
+ if (logger.isTraceEnabled()) {
ActiveMQRALogger.LOGGER.trace("setCacheDestinations(" + cacheDestinations + ")");
}
@@ -651,7 +651,7 @@ public class ActiveMQResourceAdapter implements ResourceAdapter, Serializable {
* @return The value
*/
public Boolean isCacheDestinations() {
- if (ActiveMQResourceAdapter.trace) {
+ if (logger.isTraceEnabled()) {
ActiveMQRALogger.LOGGER.trace("isCacheDestinations()");
}