You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2016/12/31 15:06:44 UTC

svn commit: r1776770 - in /jmeter/trunk/src/core/org/apache/jmeter/control: GenericController.java TransactionSampler.java

Author: pmouawad
Date: Sat Dec 31 15:06:43 2016
New Revision: 1776770

URL: http://svn.apache.org/viewvc?rev=1776770&view=rev
Log:
Sonar : fix squid:CommentedOutCodeLine "This block of commented-out lines of code should be removed. "

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/control/GenericController.java
    jmeter/trunk/src/core/org/apache/jmeter/control/TransactionSampler.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/control/GenericController.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/control/GenericController.java?rev=1776770&r1=1776769&r2=1776770&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/control/GenericController.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/control/GenericController.java Sat Dec 31 15:06:43 2016
@@ -167,7 +167,6 @@ public class GenericController extends A
             TestElement currentElement = getCurrentElement();
             setCurrentElement(currentElement);
             if (currentElement == null) {
-                // incrementCurrent();
                 returnValue = nextIsNull();
             } else {
                 if (currentElement instanceof Sampler) {

Modified: jmeter/trunk/src/core/org/apache/jmeter/control/TransactionSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/control/TransactionSampler.java?rev=1776770&r1=1776769&r2=1776770&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/control/TransactionSampler.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/control/TransactionSampler.java Sat Dec 31 15:06:43 2016
@@ -63,7 +63,7 @@ public class TransactionSampler extends
      */
     @Deprecated
     public TransactionSampler(){
-        //log.warn("Constructor only intended for use in testing");
+        super();
     }
 
     public TransactionSampler(TransactionController controller, String name) {