Skip to content

Commit

Permalink
Javadoc tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jhy committed Jul 4, 2022
1 parent 7fb6d02 commit 1541765
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/jsoup/nodes/Element.java
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ public Elements select(Evaluator evaluator) {
@param cssQuery a {@link Selector} CSS-like query
@return the first matching element
@throws IllegalArgumentException if no match is found
@since 1.15.2
*/
public Element expectFirst(String cssQuery) {
return (Element) Validate.ensureNotNull(Selector.selectFirst(cssQuery, this));
Expand Down Expand Up @@ -523,7 +524,7 @@ public boolean is(Evaluator evaluator) {
/**
Find Elements that match the supplied XPath expression.
<p>Note that for convenience of writing the Xpath expression, namespaces are disabled, and queries can be
expressed using the elements local name only.</p>
expressed using the element's local name only.</p>
<p>By default, XPath 1.0 expressions are supported. If you would to use XPath 2.0 or higher, you can provide an
alternate XPathFactory implementation:</p>
<ol>
Expand Down

0 comments on commit 1541765

Please sign in to comment.