You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/06/01 14:53:18 UTC
(commons-jexl) 17/39: Remove redundant parens
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
commit df37f012eb8ac06b92caaf5d9daa6b818c4b9077
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 1 10:20:44 2024 -0400
Remove redundant parens
---
src/main/java/org/apache/commons/jexl3/JexlFeatures.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/jexl3/JexlFeatures.java b/src/main/java/org/apache/commons/jexl3/JexlFeatures.java
index f1b0d15c..0da00e9a 100644
--- a/src/main/java/org/apache/commons/jexl3/JexlFeatures.java
+++ b/src/main/java/org/apache/commons/jexl3/JexlFeatures.java
@@ -123,7 +123,7 @@ public final class JexlFeatures {
* All features.
* N.B. ensure this is updated if additional features are added.
*/
- private static final long ALL_FEATURES = (1L << (CONST_CAPTURE + 1)) - 1L; // MUST REMAIN PRIVATE
+ private static final long ALL_FEATURES = (1L << CONST_CAPTURE + 1) - 1L; // MUST REMAIN PRIVATE
/**
* The default features flag mask.
* <p>Meant for compatibility with scripts written before 3.3.1</p>
@@ -165,11 +165,11 @@ public final class JexlFeatures {
*/
private static final Set<String> RESERVED_WORDS =
Collections.unmodifiableSet(
- new HashSet<>((Arrays.asList(
- "switch", "case", "default", "class", "jexl", "$jexl"))));
+ new HashSet<>(Arrays.asList(
+ "switch", "case", "default", "class", "jexl", "$jexl")));
/*
- * *WARNING*
+ * *WARNING*
* Static fields may be inlined by the Java compiler, so their _values_ effectively form part of the external API.
* Classes that reference them need to be recompiled to pick up new values.
* This means that changes in value are not binary compatible.