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
commit a026f218e449d433670afe8b628021829bbb3a68 Author: Felix Schumacher <[email protected]> AuthorDate: Thu Oct 8 18:45:18 2020 +0200 Don't declare to throw IllegalArgumentException explicitly --- .../apache/jmeter/protocol/http/util/GraphQLRequestParamUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/util/GraphQLRequestParamUtils.java b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/util/GraphQLRequestParamUtils.java index be9560c..1c4ec8a 100644 --- a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/util/GraphQLRequestParamUtils.java +++ b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/util/GraphQLRequestParamUtils.java @@ -141,7 +141,7 @@ public final class GraphQLRequestParamUtils { * @throws UnsupportedEncodingException if it fails to decode parameter value */ public static GraphQLRequestParams toGraphQLRequestParams(byte[] postData, final String contentEncoding) - throws IllegalArgumentException, JsonProcessingException, UnsupportedEncodingException { + throws JsonProcessingException, UnsupportedEncodingException { final String encoding = StringUtils.isNotEmpty(contentEncoding) ? contentEncoding : EncoderCache.URL_ARGUMENT_ENCODING; @@ -197,7 +197,7 @@ public final class GraphQLRequestParamUtils { * @throws UnsupportedEncodingException if it fails to decode parameter value */ public static GraphQLRequestParams toGraphQLRequestParams(final Arguments arguments, final String contentEncoding) - throws IllegalArgumentException, UnsupportedEncodingException { + throws UnsupportedEncodingException { final String encoding = StringUtils.isNotEmpty(contentEncoding) ? contentEncoding : EncoderCache.URL_ARGUMENT_ENCODING; @@ -242,7 +242,7 @@ public final class GraphQLRequestParamUtils { return new GraphQLRequestParams(operationName, query, variables); } - private static String getJsonNodeTextContent(final JsonNode jsonNode, final boolean nullable) throws IllegalArgumentException { + private static String getJsonNodeTextContent(final JsonNode jsonNode, final boolean nullable) { final JsonNodeType nodeType = jsonNode.getNodeType(); if (nodeType == JsonNodeType.NULL) {
