jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] branch master updated: Remove unused parameter on private method
Date Sun, 30 Aug 2020 13:51:27 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new da61e49  Remove unused parameter on private method
da61e49 is described below

commit da61e491c2a3631404fb48b28d8ea82ded03b5e4
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Sun Aug 30 15:51:03 2020 +0200

    Remove unused parameter on private method
---
 .../org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java
b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java
index 829735f..2881a3f 100644
--- a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java
+++ b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java
@@ -305,7 +305,7 @@ public class DefaultSamplerCreator extends AbstractSamplerCreator {
                     .replaceAll("#\\{counter([,}])", "{2$1");
         }
         if (isNumberRequests()) {
-            return getNumberedFormat(httpSampleNameMode, format);
+            return getNumberedFormat(httpSampleNameMode);
         }
         if (httpSampleNameMode == SAMPLER_NAME_NAMING_MODE_PREFIX) {
             return "{0}{1}";
@@ -319,7 +319,7 @@ public class DefaultSamplerCreator extends AbstractSamplerCreator {
         return "{1}";
     }
 
-    private String getNumberedFormat(int httpSampleNameMode, String format) {
+    private String getNumberedFormat(int httpSampleNameMode) {
         if (httpSampleNameMode == SAMPLER_NAME_NAMING_MODE_PREFIX) {
             return "{0}{1}-{2}";
         }


Mime
View raw message