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 2017/02/19 20:46:59 UTC

svn commit: r1783691 - /jmeter/trunk/src/functions/org/apache/jmeter/functions/SamplerName.java

Author: pmouawad
Date: Sun Feb 19 20:46:59 2017
New Revision: 1783691

URL: http://svn.apache.org/viewvc?rev=1783691&view=rev
Log:
Remove commented code

Modified:
    jmeter/trunk/src/functions/org/apache/jmeter/functions/SamplerName.java

Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/SamplerName.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/functions/org/apache/jmeter/functions/SamplerName.java?rev=1783691&r1=1783690&r2=1783691&view=diff
==============================================================================
--- jmeter/trunk/src/functions/org/apache/jmeter/functions/SamplerName.java (original)
+++ jmeter/trunk/src/functions/org/apache/jmeter/functions/SamplerName.java Sun Feb 19 20:46:59 2017
@@ -39,7 +39,6 @@ public class SamplerName extends Abstrac
     private static final List<String> desc = new LinkedList<>();
 
     static {
-        // desc.add("Use fully qualified host name: TRUE/FALSE (Default FALSE)");
         desc.add(JMeterUtils.getResString("function_name_paropt")); //$NON-NLS-1$
     }
 
@@ -49,7 +48,6 @@ public class SamplerName extends Abstrac
     @Override
     public String execute(SampleResult previousResult, Sampler currentSampler)
             throws InvalidVariableException {
-        // return JMeterContextService.getContext().getCurrentSampler().getName();
         String name = "";
         if (currentSampler != null) { // will be null if function is used on TestPlan
             name = currentSampler.getName();