jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1835019 - /jmeter/trunk/src/functions/org/apache/jmeter/functions/ThreadGroupName.java
Date Tue, 03 Jul 2018 20:08:07 GMT
Author: pmouawad
Date: Tue Jul  3 20:08:06 2018
New Revision: 1835019

URL: http://svn.apache.org/viewvc?rev=1835019&view=rev
Log:
Remove useless assignement

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

Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/ThreadGroupName.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/functions/org/apache/jmeter/functions/ThreadGroupName.java?rev=1835019&r1=1835018&r2=1835019&view=diff
==============================================================================
--- jmeter/trunk/src/functions/org/apache/jmeter/functions/ThreadGroupName.java (original)
+++ jmeter/trunk/src/functions/org/apache/jmeter/functions/ThreadGroupName.java Tue Jul  3
20:08:06 2018
@@ -45,7 +45,7 @@ public class ThreadGroupName extends Abs
      * Get current thread group using sampler's context
      */
     public String execute(SampleResult previousResult, Sampler currentSampler) throws InvalidVariableException
{
-        JMeterContext context = null;
+        JMeterContext context;
         if (currentSampler != null) {
             context = currentSampler.getThreadContext();
         } else {



Mime
View raw message