You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2015/12/30 18:09:34 UTC
svn commit: r1722382 -
/jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java
Author: fschumacher
Date: Wed Dec 30 17:09:33 2015
New Revision: 1722382
URL: http://svn.apache.org/viewvc?rev=1722382&view=rev
Log:
Remove unused Map graphMap. It was only a local variable and it was only written to it.
Modified:
jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java?rev=1722382&r1=1722381&r2=1722382&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/ReportGenerator.java Wed Dec 30 17:09:33 2015
@@ -213,10 +213,9 @@ public class ReportGenerator {
.getGraphConfigurations();
// Process configuration to build graph consumers
- HashMap<GraphConfiguration, AbstractGraphConsumer> graphMap = new HashMap<>();
for (Map.Entry<String, GraphConfiguration> entryGraphCfg : graphConfigurations
.entrySet()) {
- addGraphConsumer(nameFilter, excludeControllerFilter, graphMap,
+ addGraphConsumer(nameFilter, excludeControllerFilter,
entryGraphCfg);
}
@@ -257,7 +256,6 @@ public class ReportGenerator {
private void addGraphConsumer(FilterConsumer nameFilter,
FilterConsumer excludeControllerFilter,
- HashMap<GraphConfiguration, AbstractGraphConsumer> graphMap,
Map.Entry<String, GraphConfiguration> entryGraphCfg)
throws GenerationException {
String graphName = entryGraphCfg.getKey();
@@ -288,9 +286,6 @@ public class ReportGenerator {
.excludesControllers() ? excludeControllerFilter
: nameFilter;
entryPoint.addSampleConsumer(graph);
-
- // Add to the map
- graphMap.put(graphConfiguration, graph);
} catch (ClassNotFoundException | IllegalAccessException
| InstantiationException | ClassCastException ex) {
String error = String.format(INVALID_CLASS_FMT, className);