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 143b4fc  Javadoc: Use semantic tag <em> instead of style tag <i>
143b4fc is described below

commit 143b4fc58d8940472897a6ebad0637259ebc33ee
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Nov 15 09:30:48 2024 -0500

    Javadoc: Use semantic tag <em> instead of style tag <i>
---
 .../org/apache/commons/jxpath/IdentityManager.java |  2 +-
 .../org/apache/commons/jxpath/JXPathContext.java   |  8 +++----
 .../java/org/apache/commons/jxpath/NodeSet.java    |  2 +-
 .../org/apache/commons/jxpath/ri/Compiler.java     | 26 +++++++++++-----------
 .../jxpath/ri/compiler/NameAttributeTest.java      |  2 +-
 .../commons/jxpath/ri/model/NodePointer.java       |  2 +-
 .../jxpath/ri/model/dom/DOMNodePointer.java        |  2 +-
 .../jxpath/ri/model/jdom/JDOMNodePointer.java      |  2 +-
 8 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/src/main/java/org/apache/commons/jxpath/IdentityManager.java 
b/src/main/java/org/apache/commons/jxpath/IdentityManager.java
index dd0b3ae..77cec43 100644
--- a/src/main/java/org/apache/commons/jxpath/IdentityManager.java
+++ b/src/main/java/org/apache/commons/jxpath/IdentityManager.java
@@ -19,7 +19,7 @@ package org.apache.commons.jxpath;
 /**
  * A delegate of {@link JXPathContext} that implements the XPath {@code "id()"}
  * function. This delegate is only used when there is no default implementation
- * of the {@code id()} function. For example, it is <i>not</i> used
+ * of the {@code id()} function. For example, it is <em>not</em> used
  * when the root of the context is a DOM Node.
  */
 public interface IdentityManager {
diff --git a/src/main/java/org/apache/commons/jxpath/JXPathContext.java 
b/src/main/java/org/apache/commons/jxpath/JXPathContext.java
index 60fb0a9..28ef71e 100644
--- a/src/main/java/org/apache/commons/jxpath/JXPathContext.java
+++ b/src/main/java/org/apache/commons/jxpath/JXPathContext.java
@@ -231,7 +231,7 @@ import org.apache.commons.jxpath.util.KeyManagerUtils;
  *
  * <h3>Example 8: Using Variables</h3>
  * JXPath supports the notion of variables. The XPath syntax for accessing
- * variables is <i>"$varName"</i>.
+ * variables is <em>"$varName"</em>.
  *
  * <pre>
  * public class Author {
@@ -255,8 +255,8 @@ import org.apache.commons.jxpath.util.KeyManagerUtils;
  * context.setValue("$index", new Integer(3));
  * </pre>
  *
- * Note: you can only <i>change</i> the value of an existing variable this
- * way, you cannot <i>define</i> a new variable.
+ * Note: you can only <em>change</em> the value of an existing variable this
+ * way, you cannot <em>define</em> a new variable.
  *
  * <p>
  * When a variable contains a JavaBean or a collection, you can
@@ -631,7 +631,7 @@ public abstract class JXPathContext {
      * If the context is in the lenient mode, then getValue() returns null
      * for inexistent paths.  Otherwise, a path that does not map to
      * an existing property will throw an exception.  Note that if the
-     * property exists, but its value is null, the exception is <i>not</i>
+     * property exists, but its value is null, the exception is <em>not</em>
      * thrown.
      * <p>
      * By default, lenient = false
diff --git a/src/main/java/org/apache/commons/jxpath/NodeSet.java 
b/src/main/java/org/apache/commons/jxpath/NodeSet.java
index d92a02f..0581c19 100644
--- a/src/main/java/org/apache/commons/jxpath/NodeSet.java
+++ b/src/main/java/org/apache/commons/jxpath/NodeSet.java
@@ -22,7 +22,7 @@ import java.util.List;
  * NodeSet interface can be used as the type of an argument of an extension
  * function.  Alternatively, the function can declare the argument as
  * a Collection (or List or Set), in which case it will be given a collection
- * of <i>values</i> matching the path.
+ * of <em>values</em> matching the path.
  */
 public interface NodeSet {
 
diff --git a/src/main/java/org/apache/commons/jxpath/ri/Compiler.java 
b/src/main/java/org/apache/commons/jxpath/ri/Compiler.java
index c240637..bfe2868 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/Compiler.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/Compiler.java
@@ -127,7 +127,7 @@ public interface Compiler {
     Object sum(Object[] arguments);
 
     /**
-     * Produces an EXPRESSION object representing <i>left</i> minus 
<i>right</i>
+     * Produces an EXPRESSION object representing <em>left</em> minus 
<em>right</em>
      *
      * @param left is an EXPRESSION object
      * @param right is an EXPRESSION object
@@ -136,8 +136,8 @@ public interface Compiler {
     Object minus(Object left, Object right);
 
     /**
-     * Produces  an EXPRESSION object representing <i>left</i> multiplied by
-     * <i>right</i>
+     * Produces  an EXPRESSION object representing <em>left</em> multiplied by
+     * <em>right</em>
      *
      * @param left is an EXPRESSION object
      * @param right is an EXPRESSION object
@@ -146,8 +146,8 @@ public interface Compiler {
     Object multiply(Object left, Object right);
 
     /**
-     * Produces  an EXPRESSION object representing <i>left</i> divided by
-     * <i>right</i>
+     * Produces  an EXPRESSION object representing <em>left</em> divided by
+     * <em>right</em>
      *
      * @param left is an EXPRESSION object
      * @param right is an EXPRESSION object
@@ -156,8 +156,8 @@ public interface Compiler {
     Object divide(Object left, Object right);
 
     /**
-     * Produces  an EXPRESSION object representing <i>left</i> modulo
-     * <i>right</i>
+     * Produces  an EXPRESSION object representing <em>left</em> modulo
+     * <em>right</em>
      *
      * @param left is an EXPRESSION object
      * @param right is an EXPRESSION object
@@ -167,7 +167,7 @@ public interface Compiler {
 
     /**
      * Produces an EXPRESSION object representing the comparison:
-     * <i>left</i> less than <i>right</i>
+     * <em>left</em> less than <em>right</em>
      *
      * @param left is an EXPRESSION object
      * @param right is an EXPRESSION object
@@ -177,7 +177,7 @@ public interface Compiler {
 
     /**
      * Produces an EXPRESSION object representing the comparison:
-     * <i>left</i> less than or equal to <i>right</i>
+     * <em>left</em> less than or equal to <em>right</em>
      *
      * @param left is an EXPRESSION object
      * @param right is an EXPRESSION object
@@ -187,7 +187,7 @@ public interface Compiler {
 
     /**
      * Produces an EXPRESSION object representing the comparison:
-     * <i>left</i> greater than <i>right</i>
+     * <em>left</em> greater than <em>right</em>
      *
      * @param left is an EXPRESSION object
      * @param right is an EXPRESSION object
@@ -197,7 +197,7 @@ public interface Compiler {
 
     /**
      * Produces an EXPRESSION object representing the comparison:
-     * <i>left</i> greater than or equal to <i>right</i>
+     * <em>left</em> greater than or equal to <em>right</em>
      *
      * @param left is an EXPRESSION object
      * @param right is an EXPRESSION object
@@ -207,7 +207,7 @@ public interface Compiler {
 
     /**
      * Produces an EXPRESSION object representing the comparison:
-     * <i>left</i> equals to <i>right</i>
+     * <em>left</em> equals to <em>right</em>
      *
      * @param left is an EXPRESSION object
      * @param right is an EXPRESSION object
@@ -217,7 +217,7 @@ public interface Compiler {
 
     /**
      * Produces an EXPRESSION object representing the comparison:
-     * <i>left</i> is not equal to <i>right</i>
+     * <em>left</em> is not equal to <em>right</em>
      *
      * @param left is an EXPRESSION object
      * @param right is an EXPRESSION object
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/compiler/NameAttributeTest.java 
b/src/main/java/org/apache/commons/jxpath/ri/compiler/NameAttributeTest.java
index d703cf3..629b4df 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/compiler/NameAttributeTest.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/compiler/NameAttributeTest.java
@@ -17,7 +17,7 @@
 package org.apache.commons.jxpath.ri.compiler;
 
 /**
- * Captures the {@code foo[@name=<i>expr</i>]} expression. These
+ * Captures the {@code foo[@name=<em>expr</em>]} expression. These
  * expressions are handled in a special way when applied to beans
  * or maps.
  */
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 9d19198..beaf4c8 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
@@ -540,7 +540,7 @@ public abstract class NodePointer implements Pointer {
      * Check whether our locale matches the specified language.
      * @param lang String language to check
      * @return true if the selected locale name starts
-     *              with the specified prefix <i>lang</i>, case-insensitive.
+     *              with the specified prefix <em>lang</em>, case-insensitive.
      */
     public boolean isLanguage(final String lang) {
         final Locale loc = getLocale();
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMNodePointer.java 
b/src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMNodePointer.java
index 704b849..458121b 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMNodePointer.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMNodePointer.java
@@ -334,7 +334,7 @@ public class DOMNodePointer extends NodePointer {
 
     /**
      * Returns true if the xml:lang attribute for the current node
-     * or its parent has the specified prefix <i>lang</i>.
+     * or its parent has the specified prefix <em>lang</em>.
      * If no node has this prefix, calls {@code super.isLanguage(lang)}.
      * @param lang ns to test
      * @return boolean
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodePointer.java 
b/src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodePointer.java
index 325bbf8..ebe4b87 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodePointer.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodePointer.java
@@ -485,7 +485,7 @@ public class JDOMNodePointer extends NodePointer {
 
     /**
      * Returns true if the xml:lang attribute for the current node
-     * or its parent has the specified prefix <i>lang</i>.
+     * or its parent has the specified prefix <em>lang</em>.
      * If no node has this prefix, calls {@code super.isLanguage(lang)}.
      * @param lang to compare
      * @return true if this element uses the specified language.

Reply via email to