This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jxpath.git


The following commit(s) were added to refs/heads/master by this push:
     new 2c7632e  Javadoc: Use {@code } instead of HTML tags.
2c7632e is described below

commit 2c7632e48d133270d5dd78312d2850be89cb2199
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Apr 28 15:09:58 2023 -0400

    Javadoc: Use {@code } instead of HTML tags.
---
 src/main/java/org/apache/commons/jxpath/JXPathContext.java        | 8 ++++----
 .../org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java  | 2 +-
 .../java/org/apache/commons/jxpath/ri/compiler/NodeNameTest.java  | 2 +-
 src/main/java/org/apache/commons/jxpath/ri/compiler/Path.java     | 2 +-
 .../java/org/apache/commons/jxpath/ri/model/NodeIterator.java     | 2 +-
 src/main/java/org/apache/commons/jxpath/ri/model/NodePointer.java | 4 ++--
 .../commons/jxpath/ri/model/beans/PropertyOwnerPointer.java       | 2 +-
 .../commons/jxpath/ri/model/container/ContainerPointer.java       | 2 +-
 8 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/main/java/org/apache/commons/jxpath/JXPathContext.java 
b/src/main/java/org/apache/commons/jxpath/JXPathContext.java
index 2c9734c..8ec5c40 100644
--- a/src/main/java/org/apache/commons/jxpath/JXPathContext.java
+++ b/src/main/java/org/apache/commons/jxpath/JXPathContext.java
@@ -378,9 +378,9 @@ import org.apache.commons.jxpath.util.KeyManagerUtils;
  * depending on the last value configured with {@link 
#setLenient(boolean)}:</p>
  *
  *  <ol style='list-style:upper-alpha'>
- *      <li>If <code>lenient</code> is <code>false</code> (default) - methods
+ *      <li>If <code>lenient</code> is {@code false} (default) - methods
  *          will throw {@link JXPathNotFoundException}.
- *      <li>If <code>lenient</code> is <code>true</code> - methods will throw
+ *      <li>If <code>lenient</code> is {@code true} - methods will throw
  *          no exception and return a value appropriate for that method to
  *          express the absence: might be a Java <code>null</code> or a
  *          {@link Pointer} whose {@link Pointer#getValue()} returns
@@ -797,9 +797,9 @@ public abstract class JXPathContext {
      * properties in the graph</a> the behavior depends on the value that has
      * been configured with {@link #setLenient(boolean)}:</p>
      * <ul>
-     * <li> <code>false</code> (default) the method will throw a
+     * <li> {@code false} (default) the method will throw a
      * {@link JXPathNotFoundException}.
-     * <li> <code>true</code> the method returns a pointer whose
+     * <li> {@code true} the method returns a pointer whose
      * {@link Pointer#getValue()} method will always return null.
      * </ul>
      *
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java 
b/src/main/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java
index 2d73199..ce39fea 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java
@@ -61,7 +61,7 @@ import org.apache.commons.jxpath.util.TypeUtils;
 public class JXPathContextReferenceImpl extends JXPathContext {
 
     /**
-     * Change this to <code>false</code> to disable soft caching of
+     * Change this to {@code false} to disable soft caching of
      * CompiledExpressions.
      */
     public static final boolean USE_SOFT_CACHE = true;
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/compiler/NodeNameTest.java 
b/src/main/java/org/apache/commons/jxpath/ri/compiler/NodeNameTest.java
index 8578f20..6dd3ec6 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/compiler/NodeNameTest.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/compiler/NodeNameTest.java
@@ -60,7 +60,7 @@ public class NodeNameTest extends NodeTest {
 
     /**
      * Learn whether this is a wildcard test.
-     * @return <code>true</code> if the node name is "*".
+     * @return {@code true} if the node name is "*".
      */
     public boolean isWildcard() {
         return qname.getName().equals("*");
diff --git a/src/main/java/org/apache/commons/jxpath/ri/compiler/Path.java 
b/src/main/java/org/apache/commons/jxpath/ri/compiler/Path.java
index 40ba7e8..d05b58a 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/compiler/Path.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/compiler/Path.java
@@ -74,7 +74,7 @@ public abstract class Path extends Expression {
      * Recognizes paths formatted as <code>foo/bar[3]/baz[@name = 
'biz']</code>.
      * The evaluation of such "simple" paths is optimized and
      * streamlined.
-     * @return <code>true</code> if this path is simple
+     * @return {@code true} if this path is simple
      */
     public synchronized boolean isSimplePath() {
         if (!basicKnown) {
diff --git a/src/main/java/org/apache/commons/jxpath/ri/model/NodeIterator.java 
b/src/main/java/org/apache/commons/jxpath/ri/model/NodeIterator.java
index 579c51c..0283f59 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/model/NodeIterator.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/model/NodeIterator.java
@@ -30,7 +30,7 @@ public interface NodeIterator {
     /**
      * Set the new current position.
      * @param position the position to set
-     * @return <code>true</code> if there is a node at <code>position</code>.
+     * @return {@code true} if there is a node at <code>position</code>.
      */
     boolean setPosition(int position);
 
diff --git a/src/main/java/org/apache/commons/jxpath/ri/model/NodePointer.java 
b/src/main/java/org/apache/commons/jxpath/ri/model/NodePointer.java
index 4d7e0e7..ed53b39 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/model/NodePointer.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/model/NodePointer.java
@@ -250,7 +250,7 @@ public abstract class NodePointer implements Pointer {
     }
 
     /**
-     * Returns <code>true</code> if the value of the pointer is an array or
+     * Returns {@code true} if the value of the pointer is an array or
      * a Collection.
      * @return boolean
      */
@@ -620,7 +620,7 @@ public abstract class NodePointer implements Pointer {
      * Returns true if the supplied prefix represents the
      * default namespace in the context of the current node.
      * @param prefix the prefix to check
-     * @return <code>true</code> if prefix is default
+     * @return {@code true} if prefix is default
      */
     protected boolean isDefaultNamespace(final String prefix) {
         if (prefix == null) {
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyOwnerPointer.java
 
b/src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyOwnerPointer.java
index 37b2478..1562614 100644
--- 
a/src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyOwnerPointer.java
+++ 
b/src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyOwnerPointer.java
@@ -115,7 +115,7 @@ public abstract class PropertyOwnerPointer extends 
NodePointer {
     /**
      * Learn whether <code>name</code> is a valid child name for this 
PropertyOwnerPointer.
      * @param name the QName to test
-     * @return <code>true</code> if <code>QName</code> is a valid property 
name.
+     * @return {@code true} if <code>QName</code> is a valid property name.
      * @since JXPath 1.3
      */
     public boolean isValidProperty(final QName name) {
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/model/container/ContainerPointer.java
 
b/src/main/java/org/apache/commons/jxpath/ri/model/container/ContainerPointer.java
index 69f9169..226d1f1 100644
--- 
a/src/main/java/org/apache/commons/jxpath/ri/model/container/ContainerPointer.java
+++ 
b/src/main/java/org/apache/commons/jxpath/ri/model/container/ContainerPointer.java
@@ -58,7 +58,7 @@ public class ContainerPointer extends NodePointer {
 
     /**
      * This type of node is auxiliary.
-     * @return <code>true</code>.
+     * @return {@code true}.
      */
     @Override
     public boolean isContainer() {

Reply via email to