Skip to content

Commit

Permalink
Polish var-args declarations
Browse files Browse the repository at this point in the history
Closes gh-29640
  • Loading branch information
ShenFeng312 committed Dec 7, 2022
1 parent f4bc9ff commit c79474d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -52,7 +52,7 @@ public class JsonPathRequestMatchers {
* @param args arguments to parameterize the {@code JsonPath} expression with,
* using formatting specifiers defined in {@link String#format(String, Object...)}
*/
protected JsonPathRequestMatchers(String expression, Object ... args) {
protected JsonPathRequestMatchers(String expression, Object... args) {
this.jsonPathHelper = new JsonPathExpectationsHelper(expression, args);
}

Expand Down
Expand Up @@ -52,7 +52,7 @@ public class XpathResultMatchers {
* @param args arguments to parameterize the XPath expression with using the
* formatting specifiers defined in {@link String#format(String, Object...)}
*/
protected XpathResultMatchers(String expression, @Nullable Map<String, String> namespaces, Object ... args)
protected XpathResultMatchers(String expression, @Nullable Map<String, String> namespaces, Object... args)
throws XPathExpressionException {

this.xpathHelper = new XpathExpectationsHelper(expression, namespaces, args);
Expand Down

0 comments on commit c79474d

Please sign in to comment.