This is an automated email from the ASF dual-hosted git repository.

pmouawad 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 10acbc7  Fix wrong throws
10acbc7 is described below

commit 10acbc74ea1da66614eff68f2b76559d0bcb97d4
Author: pmouawad <p.moua...@ubik-ingenierie.com>
AuthorDate: Sun Dec 20 21:17:28 2020 +0100

    Fix wrong throws
---
 .../org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 dfbed0e..1021160 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
@@ -286,7 +286,7 @@ public class DefaultSamplerCreator extends 
AbstractSamplerCreator {
      * @param postData String
      * @return boolean
      */
-    public static boolean isPotentialJson(final String postData) throws 
IOException {
+    public static boolean isPotentialJson(final String postData) {
         boolean valid = true;
         try{
             OBJECT_MAPPER.readTree(postData);

Reply via email to