Skip to content

Commit 1541765

Browse files
committed
Javadoc tweak
1 parent 7fb6d02 commit 1541765

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/jsoup/nodes/Element.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ public Elements select(Evaluator evaluator) {
465465
@param cssQuery a {@link Selector} CSS-like query
466466
@return the first matching element
467467
@throws IllegalArgumentException if no match is found
468+
@since 1.15.2
468469
*/
469470
public Element expectFirst(String cssQuery) {
470471
return (Element) Validate.ensureNotNull(Selector.selectFirst(cssQuery, this));
@@ -523,7 +524,7 @@ public boolean is(Evaluator evaluator) {
523524
/**
524525
Find Elements that match the supplied XPath expression.
525526
<p>Note that for convenience of writing the Xpath expression, namespaces are disabled, and queries can be
526-
expressed using the elements local name only.</p>
527+
expressed using the element's local name only.</p>
527528
<p>By default, XPath 1.0 expressions are supported. If you would to use XPath 2.0 or higher, you can provide an
528529
alternate XPathFactory implementation:</p>
529530
<ol>

0 commit comments

Comments
 (0)