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 68cdbdb6 Fix spelling
68cdbdb6 is described below
commit 68cdbdb6a399bf302b24fa626405703a5f146082
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jan 17 08:19:30 2023 -0500
Fix spelling
---
.../apache/commons/jexl3/internal/introspection/ConstructorMethod.java | 2 +-
.../org/apache/commons/jexl3/internal/introspection/Permissions.java | 2 +-
src/site/xdoc/index.xml | 2 +-
src/test/java/org/apache/commons/jexl3/CollectionLiteralTest.java | 2 +-
src/test/java/org/apache/commons/jexl3/IssuesTest.java | 2 +-
src/test/java/org/apache/commons/jexl3/jexl342/ReferenceUberspect.java | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git
a/src/main/java/org/apache/commons/jexl3/internal/introspection/ConstructorMethod.java
b/src/main/java/org/apache/commons/jexl3/internal/introspection/ConstructorMethod.java
index e38dddab..4b7e79e9 100644
---
a/src/main/java/org/apache/commons/jexl3/internal/introspection/ConstructorMethod.java
+++
b/src/main/java/org/apache/commons/jexl3/internal/introspection/ConstructorMethod.java
@@ -80,7 +80,7 @@ public final class ConstructorMethod implements JexlMethod {
@Override
public Object tryInvoke(final String name, final Object obj, final
Object... args) {
- // dont try to invoke if no parameter but call has arguments
+ // Don't try to invoke if no parameter but call has arguments
if (ctor.getParameterCount() > 0 || args.length == 0) {
try {
final Class<?> ctorClass = ctor.getDeclaringClass();
diff --git
a/src/main/java/org/apache/commons/jexl3/internal/introspection/Permissions.java
b/src/main/java/org/apache/commons/jexl3/internal/introspection/Permissions.java
index 95879ff8..d584d246 100644
---
a/src/main/java/org/apache/commons/jexl3/internal/introspection/Permissions.java
+++
b/src/main/java/org/apache/commons/jexl3/internal/introspection/Permissions.java
@@ -319,7 +319,7 @@ public class Permissions implements JexlPermissions {
* @return true if denied, false otherwise
*/
private boolean deny(Class<?> clazz) {
- // dont deny arrays
+ // Don't deny arrays
if (clazz.isArray()) {
return false;
}
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 83b1cefa..039a1434 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -56,7 +56,7 @@ working with enterprise platforms.
<li>Loose-coupling of interfaces and implementations or
duck-typing:
<ul>
<li>You have optional classes that your code cant
consider as compilation dependencies.</li>
- <li>You have to integrate and call "legacy" code
or use components that you dont want to
+ <li>You have to integrate and call "legacy" code
or use components that you don't want to
strongly depend upon.</li>
</ul>
</li>
diff --git a/src/test/java/org/apache/commons/jexl3/CollectionLiteralTest.java
b/src/test/java/org/apache/commons/jexl3/CollectionLiteralTest.java
index 4a242ec1..06ecc60f 100644
--- a/src/test/java/org/apache/commons/jexl3/CollectionLiteralTest.java
+++ b/src/test/java/org/apache/commons/jexl3/CollectionLiteralTest.java
@@ -31,7 +31,7 @@ import java.util.concurrent.atomic.AtomicInteger;
* Originally intended to prove one could cache results of constant map
literals when used to create
* libraries (a map of lamba).
* However, those literals must be newly instantiated since their result may
be modified; there is
- * thus no point in trying to cache them. (Think harder and nod, dont try
again.)
+ * thus no point in trying to cache them. (Think harder and nod, don't try
again.)
* These pointless tests as a reminder of 'why' those behave the way they do.
* </p>
*/
diff --git a/src/test/java/org/apache/commons/jexl3/IssuesTest.java
b/src/test/java/org/apache/commons/jexl3/IssuesTest.java
index c1731e63..317ab5ce 100644
--- a/src/test/java/org/apache/commons/jexl3/IssuesTest.java
+++ b/src/test/java/org/apache/commons/jexl3/IssuesTest.java
@@ -102,7 +102,7 @@ public class IssuesTest extends JexlTestCase {
}
// JEXL-47: C style comments (single & multi line) (fixed in Parser.jjt)
- // JEXL-44: comments dont allow double quotes (fixed in Parser.jjt)
+ // JEXL-44: comments don't allow double quotes (fixed in Parser.jjt)
@Test
public void test47() throws Exception {
final JexlEngine jexl = new Engine();
diff --git
a/src/test/java/org/apache/commons/jexl3/jexl342/ReferenceUberspect.java
b/src/test/java/org/apache/commons/jexl3/jexl342/ReferenceUberspect.java
index b674334d..944b783b 100644
--- a/src/test/java/org/apache/commons/jexl3/jexl342/ReferenceUberspect.java
+++ b/src/test/java/org/apache/commons/jexl3/jexl342/ReferenceUberspect.java
@@ -235,7 +235,7 @@ public class ReferenceUberspect implements JexlUberspect {
if (ref == obj) {
return null;
}
- // obj is null means proper dereference of an optional; we dont have
an object,
+ // obj is null means proper dereference of an optional; we don't have
an object,
// we can not determine jexlGet, not a pb till we call with a not-null
object
// since the result is likely to be not null... TryInvoke will fail
and invoke will throw.
// from that object, get the property getter if any