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

commit 4d8b5c73e4675913943e48bef4af2b209619be92
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sun Mar 16 14:31:39 2025 -0400

    Javadoc
    
    Comment: Fix spelling
---
 .../org/apache/commons/jxpath/ri/model/beans/PropertyPointer.java  | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyPointer.java 
b/src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyPointer.java
index 02b12d0..eb222e9 100644
--- 
a/src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyPointer.java
+++ 
b/src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyPointer.java
@@ -31,6 +31,9 @@ import org.apache.commons.jxpath.util.ValueUtils;
 public abstract class PropertyPointer extends NodePointer {
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Marks a property as unspecified.
+     */
     public static final int UNSPECIFIED_PROPERTY = Integer.MIN_VALUE;
 
     private static final Object UNINITIALIZED = new Object();
@@ -44,7 +47,7 @@ public abstract class PropertyPointer extends NodePointer {
     private Object value = UNINITIALIZED;
 
     /**
-     * Takes a javabean, a descriptor of a property of that object and
+     * Takes a JavaBean, a descriptor of a property of that object and
      * an offset within that property (starting with 0).
      * @param parent parent pointer
      */
@@ -108,7 +111,7 @@ public abstract class PropertyPointer extends NodePointer {
 
     @Override
     public NodePointer createPath(final JXPathContext context, final Object 
value) {
-        // If neccessary, expand collection
+        // If necessary, expand collection
         if (index != WHOLE_COLLECTION && index >= getLength()) {
             createPath(context);
         }

Reply via email to