Skip to content

Commit

Permalink
jdoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Dec 2, 2023
1 parent 6fdba95 commit 9ee6449
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/htmlunit/xpath/axes/LocPathIterator.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* This class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in
* document order based on a XPath.<br>
* </br> see <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a>.
* @see <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a>.
*
* <p>If setShouldCacheNodes(true) is called, as each node is iterated via nextNode(), the node is
* also stored in the NodeVector, so that previousNode() can easily be done, except in the case
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/org/htmlunit/xpath/compiler/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ protected Expression equals(int opPos) throws TransformerException {
}

/**
* Compile a '<=' operation.
* Compile a '&lt=' operation.
*
* @param opPos The current position in the m_opMap array.
* @return reference to {@link org.htmlunit.xpath.operations.Lte} instance.
Expand All @@ -275,7 +275,7 @@ protected Expression lte(int opPos) throws TransformerException {
}

/**
* Compile a '<' operation.
* Compile a '&lt;' operation.
*
* @param opPos The current position in the m_opMap array.
* @return reference to {@link org.htmlunit.xpath.operations.Lt} instance.
Expand All @@ -286,7 +286,7 @@ protected Expression lt(int opPos) throws TransformerException {
}

/**
* Compile a '>=' operation.
* Compile a '&gt;=' operation.
*
* @param opPos The current position in the m_opMap array.
* @return reference to {@link org.htmlunit.xpath.operations.Gte} instance.
Expand All @@ -297,7 +297,7 @@ protected Expression gte(int opPos) throws TransformerException {
}

/**
* Compile a '>' operation.
* Compile a '&gr;' operation.
*
* @param opPos The current position in the m_opMap array.
* @return reference to {@link org.htmlunit.xpath.operations.Gt} instance.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/htmlunit/xpath/patterns/NodeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public XObject execute(XPathContext xctxt, int context)
{
String ns = dtm.getLocalName(context);

return (subPartMatch(ns, m_name)) ? m_score : SCORE_NONE;
return subPartMatch(ns, m_name) ? m_score : SCORE_NONE;
}
case DTMFilter.SHOW_ATTRIBUTE:
case DTMFilter.SHOW_ELEMENT:
Expand Down Expand Up @@ -439,7 +439,7 @@ public XObject execute(XPathContext xctxt, int context, DTM dtm, int expType)
{
String ns = dtm.getLocalName(context);

return (subPartMatch(ns, m_name)) ? m_score : SCORE_NONE;
return subPartMatch(ns, m_name) ? m_score : SCORE_NONE;
}
case DTMFilter.SHOW_ATTRIBUTE:
case DTMFilter.SHOW_ELEMENT:
Expand Down

0 comments on commit 9ee6449

Please sign in to comment.