Polish var-args declarations
Closes gh-29640
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user