Reinstate protected XpathRequestMatchers constructor

This commit makes the XpathRequestMatchers constructor protected again
in case users have extended this class.
This commit is contained in:
Sam Brannen 2019-10-24 13:49:35 +02:00
parent f3cad9f685
commit 13cdb70f64
1 changed files with 1 additions and 1 deletions

View File

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