jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1783654 - /jmeter/trunk/test/src/org/apache/jmeter/report/core/CsvSampleReaderTest.java
Date Sun, 19 Feb 2017 15:49:16 GMT
Author: fschumacher
Date: Sun Feb 19 15:49:16 2017
New Revision: 1783654

URL: http://svn.apache.org/viewvc?rev=1783654&view=rev
Log:
Remove useless local variable.

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/report/core/CsvSampleReaderTest.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/report/core/CsvSampleReaderTest.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/report/core/CsvSampleReaderTest.java?rev=1783654&r1=1783653&r2=1783654&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/report/core/CsvSampleReaderTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/report/core/CsvSampleReaderTest.java Sun Feb 19
15:49:16 2017
@@ -106,8 +106,6 @@ public class CsvSampleReaderTest {
     public void testHasNext() {
         try (CsvSampleReader reader = new CsvSampleReader(tempCsv, metadata)) {
             for (long i = 0; i < NR_ROWS; i++) {
-                Sample expected = new SampleBuilder(metadata).add(i)
-                        .add("a" + i).build();
                 Assert.assertTrue(reader.hasNext());
                 reader.readSample();
             }



Mime
View raw message