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-jexl.git


The following commit(s) were added to refs/heads/master by this push:
     new 202c591d Fix typos
202c591d is described below

commit 202c591d69d9a563a32852dfe28b8a7e64beb6d8
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jan 15 08:12:28 2023 -0500

    Fix typos
---
 src/main/java/org/apache/commons/jexl3/JxltEngine.java                | 4 ++--
 .../apache/commons/jexl3/internal/introspection/ArrayListWrapper.java | 2 +-
 src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java | 4 ++--
 src/site/xdoc/reference/examples.xml                                  | 4 ++--
 src/test/java/org/apache/commons/jexl3/LexicalTest.java               | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/main/java/org/apache/commons/jexl3/JxltEngine.java 
b/src/main/java/org/apache/commons/jexl3/JxltEngine.java
index c0902211..5405de9e 100644
--- a/src/main/java/org/apache/commons/jexl3/JxltEngine.java
+++ b/src/main/java/org/apache/commons/jexl3/JxltEngine.java
@@ -204,7 +204,7 @@ public abstract class JxltEngine {
     }
 
     /**
-     * Creates a a {@link Expression} from an expression string.
+     * Creates a {@link Expression} from an expression string.
      * Uses and fills up the expression cache if any.
      *
      * <p>If the underlying JEXL engine is silent, errors will be logged 
through its logger as warnings.</p>
@@ -218,7 +218,7 @@ public abstract class JxltEngine {
     }
 
     /**
-     * Creates a a {@link Expression} from an expression string.
+     * Creates a {@link Expression} from an expression string.
      * Uses and fills up the expression cache if any.
      *
      * <p>If the underlying JEXL engine is silent, errors will be logged 
through its logger as warnings.</p>
diff --git 
a/src/main/java/org/apache/commons/jexl3/internal/introspection/ArrayListWrapper.java
 
b/src/main/java/org/apache/commons/jexl3/internal/introspection/ArrayListWrapper.java
index 067bfb0b..c264f6be 100644
--- 
a/src/main/java/org/apache/commons/jexl3/internal/introspection/ArrayListWrapper.java
+++ 
b/src/main/java/org/apache/commons/jexl3/internal/introspection/ArrayListWrapper.java
@@ -24,7 +24,7 @@ import java.util.RandomAccess;
 /**
  * A class that wraps an array within an AbstractList.
  * <p>
- * It overrides some methods because introspection uses this class a a marker 
for wrapped arrays; the declared class
+ * It overrides some methods because introspection uses this class a marker 
for wrapped arrays; the declared class
  * for these method is thus ArrayListWrapper.
  * The methods are get/set/size/contains and indexOf because it is used by 
contains.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java 
b/src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java
index fa8438b3..e1a9b1d1 100644
--- a/src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java
+++ b/src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java
@@ -547,7 +547,7 @@ public final class JexlSandbox {
      * @param clazz the class for which these permissions apply
      * @param readFlag whether the readable property list is allow - true - or 
block - false -
      * @param writeFlag whether the writable property list is allow - true - 
or block - false -
-     * @param executeFlag whether the executable method list is allow allow - 
true - or block - false -
+     * @param executeFlag whether the executable method list is allow - true - 
or block - false -
      * @return the set of permissions
      */
     public Permissions permissions(final String clazz,
@@ -564,7 +564,7 @@ public final class JexlSandbox {
      * @param inhf whether these permissions are inheritable
      * @param readf whether the readable property list is allow - true - or 
block - false -
      * @param writef whether the writable property list is allow - true - or 
block - false -
-     * @param execf whether the executable method list is allow allow - true - 
or block - false -
+     * @param execf whether the executable method list is allow - true - or 
block - false -
      * @return the set of permissions
      */
     public Permissions permissions(final String clazz,
diff --git a/src/site/xdoc/reference/examples.xml 
b/src/site/xdoc/reference/examples.xml
index 5aecd140..29adf331 100644
--- a/src/site/xdoc/reference/examples.xml
+++ b/src/site/xdoc/reference/examples.xml
@@ -66,7 +66,7 @@
         </source>
       </p>
       <p>
-        The easiest way of obtaining a a context is to use the
+        The easiest way of obtaining a context is to use the
         <a 
href="https://commons.apache.org/jexl/apidocs/org/apache/commons/jexl3/MapContext.html#MapContext()">new
 MapContext()</a>
         statement. This creates a context implemented using an underlying
         <a 
href="https://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html";>HashMap</a>
@@ -77,7 +77,7 @@
         method.
       </p>
       <p>
-        Once you have your expression, you can then use use the
+        Once you have your expression, you can then use the
         <a 
href="https://commons.apache.org/jexl/apidocs/org/apache/commons/jexl3/Expression.html#evaluate(org.apache.commons.jexl3.JexlContext)">evaluate</a>
         to execute it and obtain a result.
       </p>
diff --git a/src/test/java/org/apache/commons/jexl3/LexicalTest.java 
b/src/test/java/org/apache/commons/jexl3/LexicalTest.java
index 7dd7924d..ec7fc179 100644
--- a/src/test/java/org/apache/commons/jexl3/LexicalTest.java
+++ b/src/test/java/org/apache/commons/jexl3/LexicalTest.java
@@ -738,7 +738,7 @@ public class LexicalTest {
         final JexlFeatures ff2 = runVarLoop(false, src2);
         final JexlFeatures ft2= runVarLoop(true, src2);
 
-        // and check some features features
+        // and check some features
         Assert.assertEquals(ff0, ff1);
         Assert.assertEquals(ft0, ft1);
         Assert.assertNotEquals(ff0, ft0);

Reply via email to