jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1718732 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/
Date Tue, 08 Dec 2015 22:32:55 GMT
Author: pmouawad
Date: Tue Dec  8 22:32:55 2015
New Revision: 1718732

URL: http://svn.apache.org/viewvc?rev=1718732&view=rev
Log:
Add missing @Override

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleProcessor.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/ApdexSummaryConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/CsvFileSampleSource.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/Job.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleWriterConsumer.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleConsumer.java?rev=1718732&r1=1718731&r2=1718732&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleConsumer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSampleConsumer.java Tue
Dec  8 22:32:55 2015
@@ -151,6 +151,7 @@ abstract public class AbstractSampleCons
 	this.sampleConsumers.remove(consumer);
     }
 
+    @Override
     public void setConsumedMetadata(SampleMetadata sampleMetadata, int channel) {
 	consumedMetadata.put(channel, sampleMetadata);
     }
@@ -185,6 +186,7 @@ abstract public class AbstractSampleCons
 	}
     }
 
+    @Override
     public void setProducedMetadata(SampleMetadata metadata, int channel) {
 	for (SampleConsumer consumer : this.sampleConsumers) {
 	    try {
@@ -206,6 +208,7 @@ abstract public class AbstractSampleCons
 	}
     }
 
+    @Override
     public void startProducing() {
 	producedSampleCount = 0;
 	for (SampleConsumer consumer : this.sampleConsumers) {
@@ -219,6 +222,7 @@ abstract public class AbstractSampleCons
 	}
     }
 
+    @Override
     public void produce(Sample s, int channel) {
 	for (SampleConsumer consumer : this.sampleConsumers) {
 	    try {
@@ -233,6 +237,7 @@ abstract public class AbstractSampleCons
 	}
     }
 
+    @Override
     public void stopProducing() {
 	for (SampleConsumer consumer : this.sampleConsumers) {
 	    try {

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=1718732&r1=1718731&r2=1718732&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
Tue Dec  8 22:32:55 2015
@@ -38,6 +38,7 @@ public class AbstractSampleProcessor imp
      * @see
      * org.apache.jmeter.report.csv.processor.SampleProcessor#getSampleContext()
      */
+    @Override
     public SampleContext getSampleContext() {
 	return sampleContext;
     }
@@ -49,6 +50,7 @@ public class AbstractSampleProcessor imp
      * org.apache.jmeter.report.csv.processor.SampleProcessor#setSampleContext
      * (org.apache.jmeter.report.csv.processor.SampleContext)
      */
+    @Override
     public void setSampleContext(SampleContext sampleContext) {
 	this.sampleContext = sampleContext;
     }
@@ -77,6 +79,7 @@ public class AbstractSampleProcessor imp
      * org.apache.jmeter.report.csv.processor.SampleProcessor#setChannelAttribute
      * (int, java.lang.String, java.lang.Object)
      */
+    @Override
     public void setChannelAttribute(int channel, String key, Object value) {
 	getChannelContext(channel).put(key, value);
     }
@@ -88,6 +91,7 @@ public class AbstractSampleProcessor imp
      * org.apache.jmeter.report.csv.processor.SampleProcessor#getChannelAttribute
      * (int, java.lang.String)
      */
+    @Override
     public Object getChannelAttribute(int channel, String key) {
 	return getChannelContext(channel).get(key);
     }

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/ApdexSummaryConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/ApdexSummaryConsumer.java?rev=1718732&r1=1718731&r2=1718732&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/ApdexSummaryConsumer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/ApdexSummaryConsumer.java Tue
Dec  8 22:32:55 2015
@@ -61,6 +61,7 @@ public class ApdexSummaryConsumer extend
 	super(true);
     }
 
+    @Override
     protected ListResultData createDataResult(String key, ApdexSummaryData data) {
 	ListResultData result = new ListResultData();
 	result.addResult(new ValueResultData(getApdex(data)));

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=1718732&r1=1718731&r2=1718732&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 Tue
Dec  8 22:32:55 2015
@@ -245,6 +245,7 @@ public class CsvFileSampleSource extends
      * This sample source will start reading all inputs CSV files and produce
      * their samples to this sample source registered sample consumers.
      */
+    @Override
     public void run() {
 	produce();
     }
@@ -275,6 +276,7 @@ public class CsvFileSampleSource extends
 	    this.sampleConsumers.remove(consumer);
 	}
 
+	@Override
 	public void setSampleContext(SampleContext context) {
 	    for (SampleConsumer consumer : this.sampleConsumers) {
 		try {
@@ -288,6 +290,7 @@ public class CsvFileSampleSource extends
 	    }
 	}
 
+	@Override
 	public void setProducedMetadata(SampleMetadata metadata, int channel) {
 	    for (SampleConsumer consumer : this.sampleConsumers) {
 		try {
@@ -317,6 +320,7 @@ public class CsvFileSampleSource extends
 	    }
 	}
 
+	@Override
 	public void startProducing() {
 	    for (SampleConsumer consumer : this.sampleConsumers) {
 		try {
@@ -330,6 +334,7 @@ public class CsvFileSampleSource extends
 	    }
 	}
 
+	@Override
 	public void produce(Sample s, int channel) {
 	    for (SampleConsumer consumer : this.sampleConsumers) {
 		try {
@@ -343,6 +348,7 @@ public class CsvFileSampleSource extends
 	    }
 	}
 
+	@Override
 	public void stopProducing() {
 	    for (SampleConsumer consumer : this.sampleConsumers) {
 		try {

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=1718732&r1=1718731&r2=1718732&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  8 22:32:55 2015
@@ -284,6 +284,7 @@ public class ExternalSampleSorter extend
 	}
     }
 
+    @Override
     public void startConsuming() {
 	if (sampleComparator == null)
 	    throw new IllegalStateException(
@@ -300,6 +301,7 @@ public class ExternalSampleSorter extend
 	sampleComparator.initialize(sampleMetadata);
     }
 
+    @Override
     public void consume(Sample s, int channel) {
 	samples.add(s);
 	inputSampleCount++;
@@ -309,6 +311,7 @@ public class ExternalSampleSorter extend
 	}
     }
 
+    @Override
     public void stopConsuming() {
 	if (samples.size() > 0) {
 	    chunks.add(sortAndDump(samples, sampleMetadata));
@@ -383,7 +386,8 @@ public class ExternalSampleSorter extend
 	final List<Sample> left = samples.subList(0, middle);
 	final List<Sample> right = samples.subList(middle, sz);
 	Job<List<Sample>> jobLeft = new Job<List<Sample>>() {
-	    protected List<Sample> exec() {
+	    @Override
+        protected List<Sample> exec() {
 		return sort(left);
 	    }
 	};

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/Job.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/Job.java?rev=1718732&r1=1718731&r2=1718732&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/Job.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/Job.java Tue Dec  8 22:32:55
2015
@@ -34,6 +34,7 @@ abstract class Job<T> implements Runnabl
 
     private volatile T result;
 
+    @Override
     public final void run() {
 	resultReady = false;
 	result = exec();

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java?rev=1718732&r1=1718731&r2=1718732&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java
(original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java
Tue Dec  8 22:32:55 2015
@@ -49,6 +49,7 @@ public class NormalizerSampleConsumer ex
 
     private SampleMetadata sampleMetadata;
 
+    @Override
     public void startConsuming() {
 	sampleMetadata = getConsumedMetadata(0);
 	timestamp = sampleMetadata.indexOf(CSVSaveService.TIME_STAMP);
@@ -56,6 +57,7 @@ public class NormalizerSampleConsumer ex
 	startProducing();
     }
 
+    @Override
     public void consume(Sample s, int channel) {
 	Date date = null;
 	try {
@@ -86,6 +88,7 @@ public class NormalizerSampleConsumer ex
 	super.produce(rewrited, 0);
     }
 
+    @Override
     public void stopConsuming() {
 	super.stopProducing();
     }

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleWriterConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleWriterConsumer.java?rev=1718732&r1=1718731&r2=1718732&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleWriterConsumer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleWriterConsumer.java Tue
Dec  8 22:32:55 2015
@@ -85,6 +85,7 @@ public class SampleWriterConsumer extend
 	this.shouldWriteHeader = writeHeader;
     }
 
+    @Override
     public void startConsuming() {
 	if (outputFile == null) {
 	    File wd = getWorkingDirectory();
@@ -107,10 +108,12 @@ public class SampleWriterConsumer extend
 	}
     }
 
+    @Override
     public void consume(Sample s, int channel) {
 	csvWriters[channel].write(s);
     }
 
+    @Override
     public void stopConsuming() {
 	for (int i = 0; i < channelsCount; i++) {
 	    csvWriters[i].close();



Mime
View raw message