jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1722625 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleProcessor.java
Date Sat, 02 Jan 2016 13:15:10 GMT
Author: fschumacher
Date: Sat Jan  2 13:15:10 2016
New Revision: 1722625

URL: http://svn.apache.org/viewvc?rev=1722625&view=rev
Log:
Return result directly instead of using a temporary variable.

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleProcessor.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleProcessor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleProcessor.java?rev=1722625&r1=1722624&r2=1722625&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleProcessor.java
(original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleProcessor.java
Sat Jan  2 13:15:10 2016
@@ -68,8 +68,7 @@ public class AbstractSampleProcessor imp
         while (channelContexts.size() <= channel) {
             channelContexts.add(new ChannelContext());
         }
-        ChannelContext out = channelContexts.get(channel);
-        return out;
+        return channelContexts.get(channel);
     }
 
     /*



Mime
View raw message