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 e175f542 Simplify e175f542 is described below commit e175f542e98ebde25e261dcfd8d3b33a23ed0910 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Feb 9 18:14:10 2024 -0500 Simplify --- src/main/java/org/apache/commons/jexl3/internal/Engine.java | 2 +- src/main/java/org/apache/commons/jexl3/internal/InterpreterBase.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/jexl3/internal/Engine.java b/src/main/java/org/apache/commons/jexl3/internal/Engine.java index 6057d01b..b5a83edd 100644 --- a/src/main/java/org/apache/commons/jexl3/internal/Engine.java +++ b/src/main/java/org/apache/commons/jexl3/internal/Engine.java @@ -149,7 +149,7 @@ public class Engine extends JexlEngine { /** * The atomic parsing flag; true whilst parsing. */ - protected final AtomicBoolean parsing = new AtomicBoolean(false); + protected final AtomicBoolean parsing = new AtomicBoolean(); /** * The {@link Parser}; when parsing expressions, this engine uses the parser if it * is not already in use otherwise it will create a new temporary one. diff --git a/src/main/java/org/apache/commons/jexl3/internal/InterpreterBase.java b/src/main/java/org/apache/commons/jexl3/internal/InterpreterBase.java index 731361f4..fa31838a 100644 --- a/src/main/java/org/apache/commons/jexl3/internal/InterpreterBase.java +++ b/src/main/java/org/apache/commons/jexl3/internal/InterpreterBase.java @@ -112,7 +112,7 @@ public abstract class InterpreterBase extends ParserVisitor { if (this.context instanceof JexlContext.CancellationHandle) { acancel = ((JexlContext.CancellationHandle) context).getCancellation(); } - this.cancelled = acancel != null ? acancel : new AtomicBoolean(false); + this.cancelled = acancel != null ? acancel : new AtomicBoolean(); this.functions = options.getNamespaces(); this.functors = null; this.operators = new Operators(this);