NO-JIRA traced on the RA

This commit is contained in:
Clebert Suconic 2017-07-25 19:07:34 -04:00
parent b6b48a5896
commit e5be686064
1 changed files with 2 additions and 2 deletions

View File

@ -638,7 +638,7 @@ public class ActiveMQResourceAdapter implements ResourceAdapter, Serializable {
* @param cacheDestinations The value * @param cacheDestinations The value
*/ */
public void setCacheDestinations(final Boolean cacheDestinations) { public void setCacheDestinations(final Boolean cacheDestinations) {
if (ActiveMQResourceAdapter.trace) { if (logger.isTraceEnabled()) {
ActiveMQRALogger.LOGGER.trace("setCacheDestinations(" + cacheDestinations + ")"); ActiveMQRALogger.LOGGER.trace("setCacheDestinations(" + cacheDestinations + ")");
} }
@ -651,7 +651,7 @@ public class ActiveMQResourceAdapter implements ResourceAdapter, Serializable {
* @return The value * @return The value
*/ */
public Boolean isCacheDestinations() { public Boolean isCacheDestinations() {
if (ActiveMQResourceAdapter.trace) { if (logger.isTraceEnabled()) {
ActiveMQRALogger.LOGGER.trace("isCacheDestinations()"); ActiveMQRALogger.LOGGER.trace("isCacheDestinations()");
} }