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 2ce2a52 Fix style check failure due to space
2ce2a52 is described below
commit 2ce2a52c3c71d6111befa26da3a6583d96f21568
Author: pmouawad <[email protected]>
AuthorDate: Thu Dec 17 21:42:30 2020 +0100
Fix style check failure due to space
---
.../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 13c6503..dfbed0e 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
@@ -288,7 +288,7 @@ public class DefaultSamplerCreator extends
AbstractSamplerCreator {
*/
public static boolean isPotentialJson(final String postData) throws
IOException {
boolean valid = true;
- try{
+ try{
OBJECT_MAPPER.readTree(postData);
} catch(JsonProcessingException e){
valid = false;