Polish var-args declarations

Closes gh-29640
This commit is contained in:
ShenFeng312
2022-12-07 11:30:40 +08:00
committed by GitHub
parent f4bc9ffb98
commit c79474d269
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}

View File

@@ -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);