Author: sebb
Date: Thu Dec 13 04:26:30 2007
New Revision: 603905

URL: http://svn.apache.org/viewvc?rev=603905&view=rev
Log:
Minor update; remove unnecessary debug

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/WhileController.java

Modified: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/WhileController.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/WhileController.java?rev=603905&r1=603904&r2=603905&view=diff
==============================================================================
--- 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/WhileController.java 
(original)
+++ 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/WhileController.java 
Thu Dec 13 04:26:30 2007
@@ -54,15 +54,14 @@
         */
        private boolean endOfLoop(boolean loopEnd) {
                String cnd = getCondition();
-               log.debug("Condition string:" + cnd);
+               log.debug("Condition string:" + cnd+".");
                boolean res;
                // If blank, only check previous sample when at end of loop
                if ((loopEnd && cnd.length() == 0) || 
"LAST".equalsIgnoreCase(cnd)) {// $NON-NLS-1$
                        JMeterVariables threadVars = 
JMeterContextService.getContext().getVariables();
-                       // Use !false rather than true, so that null is treated 
as true
                        res = 
"false".equalsIgnoreCase(threadVars.get(JMeterThread.LAST_SAMPLE_OK));// 
$NON-NLS-1$
                } else {
-                       // cnd may be blank if next() called us
+                       // cnd may be null if next() called us
                        res = "false".equalsIgnoreCase(cnd);// $NON-NLS-1$
                }
                log.debug("Condition value: " + res);
@@ -111,7 +110,6 @@
         JMeterProperty prop=getProperty(CONDITION);
         prop.recoverRunningVersion(this);
                cnd = prop.getStringValue();
-               log.debug("getCondition() => " + cnd);
                return cnd;
        }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to