You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2014/10/29 19:42:07 UTC

svn commit: r1635253 - /jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java

Author: sebb
Date: Wed Oct 29 18:42:07 2014
New Revision: 1635253

URL: http://svn.apache.org/r1635253
Log:
No point protecting log.debug that uses a constant string as the message

Modified:
    jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java

Modified: jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java?rev=1635253&r1=1635252&r2=1635253&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java (original)
+++ jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java Wed Oct 29 18:42:07 2014
@@ -98,9 +98,7 @@ public class FixedQueueExecutor implemen
                 countDownLatch.await(); //
             } else {
                 if(!countDownLatch.await(timeout, TimeUnit.MILLISECONDS)) {
-                    if(log.isDebugEnabled()) {
-                        log.debug("Timeout reached before getting a reply message");
-                    }
+                    log.debug("Timeout reached before getting a reply message");
                 }
             }
             if (log.isDebugEnabled()) {