diff --git a/src/main/java/org/apache/commons/jxpath/JXPathContext.java b/src/main/java/org/apache/commons/jxpath/JXPathContext.java index c4aac2c63..8823c313e 100644 --- a/src/main/java/org/apache/commons/jxpath/JXPathContext.java +++ b/src/main/java/org/apache/commons/jxpath/JXPathContext.java @@ -573,7 +573,7 @@ public AbstractFactory getFactory() { /** * Set the locale for this context. The value of the "lang" - * attribute as well as the the lang() function will be + * attribute as well as the lang() function will be * affected by the locale. By default, JXPath uses * Locale.getDefault() * @param locale Locale diff --git a/src/main/java/org/apache/commons/jxpath/Pointer.java b/src/main/java/org/apache/commons/jxpath/Pointer.java index a8256682e..3bf49db72 100644 --- a/src/main/java/org/apache/commons/jxpath/Pointer.java +++ b/src/main/java/org/apache/commons/jxpath/Pointer.java @@ -24,7 +24,7 @@ * ({@link JXPathContext#getPointer(java.lang.String) getPointer()} * and ({@link JXPathContext#iteratePointers(java.lang.String) * iteratePointers()}, which, given an XPath, produce Pointers for the objects - * or properties described the the path. For example, ctx.getPointer + * or properties described the path. For example, ctx.getPointer * ("foo/bar") will produce a Pointer that can get and set the property * "bar" of the object which is the value of the property "foo" of the root * object. The value of ctx.getPointer("aMap/aKey[3]") will be a