jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1719668 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/CsvFileSampleSource.java
Date Sat, 12 Dec 2015 12:17:14 GMT
Author: fschumacher
Date: Sat Dec 12 12:17:13 2015
New Revision: 1719668

URL: http://svn.apache.org/viewvc?rev=1719668&view=rev
Log:
Don't reassign parameter, return result directly instead.

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/CsvFileSampleSource.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/CsvFileSampleSource.java?rev=1719668&r1=1719667&r2=1719668&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/CsvFileSampleSource.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/CsvFileSampleSource.java Sat
Dec 12 12:17:13 2015
@@ -138,8 +138,7 @@ public class CsvFileSampleSource extends
         if (idx < 0) {
             return fName;
         }
-        fName = fName.substring(0, idx);
-        return fName;
+        return fName.substring(0, idx);
     }
 
     private static String getFileExtension(String fName) {



Mime
View raw message