Skip to content

Commit f627f9b

Browse files
committed
JavaDoc only @return org.hamcrest.xml
1 parent fe2e808 commit f627f9b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

hamcrest/src/main/java/org/hamcrest/xml/HasXPath.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ private static XPathExpression compiledXPath(String xPathExpression, NamespaceCo
116116
* the target xpath
117117
* @param valueMatcher
118118
* matcher for the value at the specified xpath
119+
* @return The matcher.
119120
*/
120121
public static Matcher<Node> hasXPath(String xPath, Matcher<String> valueMatcher) {
121122
return hasXPath(xPath, NO_NAMESPACE_CONTEXT, valueMatcher);
@@ -134,6 +135,7 @@ public static Matcher<Node> hasXPath(String xPath, Matcher<String> valueMatcher)
134135
* the namespace for matching nodes
135136
* @param valueMatcher
136137
* matcher for the value at the specified xpath
138+
* @return The matcher.
137139
*/
138140
public static Matcher<Node> hasXPath(String xPath, NamespaceContext namespaceContext, Matcher<String> valueMatcher) {
139141
return new HasXPath(xPath, namespaceContext, valueMatcher, STRING);
@@ -147,6 +149,7 @@ public static Matcher<Node> hasXPath(String xPath, NamespaceContext namespaceCon
147149
*
148150
* @param xPath
149151
* the target xpath
152+
* @return The matcher.
150153
*/
151154
public static Matcher<Node> hasXPath(String xPath) {
152155
return hasXPath(xPath, NO_NAMESPACE_CONTEXT);
@@ -162,6 +165,7 @@ public static Matcher<Node> hasXPath(String xPath) {
162165
* the target xpath
163166
* @param namespaceContext
164167
* the namespace for matching nodes
168+
* @return The matcher.
165169
*/
166170
public static Matcher<Node> hasXPath(String xPath, NamespaceContext namespaceContext) {
167171
return new HasXPath(xPath, namespaceContext, WITH_ANY_CONTENT, XPathConstants.NODE);

0 commit comments

Comments
 (0)