Browse Source

Reinstate protected XpathRequestMatchers constructor

This commit makes the XpathRequestMatchers constructor protected again
in case users have extended this class.
pull/23863/head
Sam Brannen 6 years ago
parent
commit
13cdb70f64
  1. 2
      spring-test/src/main/java/org/springframework/test/web/client/match/XpathRequestMatchers.java

2
spring-test/src/main/java/org/springframework/test/web/client/match/XpathRequestMatchers.java

@ -58,7 +58,7 @@ public class XpathRequestMatchers { @@ -58,7 +58,7 @@ public class XpathRequestMatchers {
* formatting specifiers defined in {@link String#format(String, Object...)}
* @throws XPathExpressionException if expression compilation failed
*/
XpathRequestMatchers(String expression, @Nullable Map<String, String> namespaces, Object... args)
protected XpathRequestMatchers(String expression, @Nullable Map<String, String> namespaces, Object... args)
throws XPathExpressionException {
this.xpathHelper = new XpathExpectationsHelper(expression, namespaces, args);

Loading…
Cancel
Save