jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1721401 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java
Date Tue, 22 Dec 2015 13:45:39 GMT
Author: fschumacher
Date: Tue Dec 22 13:45:38 2015
New Revision: 1721401

URL: http://svn.apache.org/viewvc?rev=1721401&view=rev
Log:
Rename local variable that shadows instance variable sampleMetadata.

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java?rev=1721401&r1=1721400&r2=1721401&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java Tue
Dec 22 13:45:38 2015
@@ -250,13 +250,13 @@ public class ExternalSampleSorter extend
             boolean writeHeader) {
         Validate.notNull(output, "%s must not be null", "output");
 
-        SampleMetadata sampleMetadata = csvReader.getMetadata();
+        SampleMetadata readSampleMetadata = csvReader.getMetadata();
         SampleWriterConsumer writerConsumer = new SampleWriterConsumer();
         writerConsumer.setOutputFile(output);
         writerConsumer.setWriteHeader(writeHeader);
         addSampleConsumer(writerConsumer);
         try {
-            super.setConsumedMetadata(sampleMetadata, 0);
+            super.setConsumedMetadata(readSampleMetadata, 0);
             startConsuming();
             Sample s = null;
             while ((s = csvReader.readSample()) != null) {



Mime
View raw message