jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1721356 - /jmeter/trunk/src/core/org/apache/jmeter/report/core/CsvSampleReader.java
Date Tue, 22 Dec 2015 11:23:03 GMT
Author: fschumacher
Date: Tue Dec 22 11:23:03 2015
New Revision: 1721356

URL: http://svn.apache.org/viewvc?rev=1721356&view=rev
Log:
Don't reassign parameter metadata.

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/core/CsvSampleReader.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/core/CsvSampleReader.java?rev=1721356&r1=1721355&r2=1721356&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/core/CsvSampleReader.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/core/CsvSampleReader.java Tue Dec 22 11:23:03
2015
@@ -105,11 +105,12 @@ public class CsvSampleReader implements
             throw new SampleException("Could not create file reader !", ex);
         }
         if (metadata == null) {
-            metadata = readMetadata(separator, useSaveSampleCfg);
+            this.metadata = readMetadata(separator, useSaveSampleCfg);
+        } else {
+            this.metadata = metadata;
         }
-        this.metadata = metadata;
-        this.columnCount = metadata.getColumnCount();
-        this.separator = metadata.getSeparator();
+        this.columnCount = this.metadata.getColumnCount();
+        this.separator = this.metadata.getSeparator();
         this.row = 0;
         this.lastSampleRead = nextSample();
     }



Mime
View raw message