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 ffc30a26e205b78894f1ea0845e04d2c0103424a Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Fri Apr 11 18:26:50 2025 -0400 Remove redundant semi-colon No need to nest block --- .../org/apache/commons/jexl3/introspection/JexlSandbox.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 8dec6fb0..19680957 100644 --- a/src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java +++ b/src/main/java/org/apache/commons/jexl3/introspection/JexlSandbox.java @@ -471,11 +471,11 @@ public final class JexlSandbox { // if name is null and contained in set, explicit null aka NULL if (names != null && !names.contains(name)) { return name; - } else if (name != null) { + } + if (name != null) { return null; - } else { - return NULL; } + return NULL; } @Override @@ -490,7 +490,7 @@ public final class JexlSandbox { public abstract static class Names { /** Default constructor */ - public Names() {}; // Keep Javadoc happy + public Names() {} // Keep Javadoc happy /** * Adds a name to this set. @@ -671,7 +671,7 @@ public final class JexlSandbox { @Deprecated public static final class BlackSet extends BlockSet { /** Default constructor */ - public BlackSet() { super(); }; // Keep Javadoc happy + public BlackSet() { } // Keep Javadoc happy } /** @@ -680,7 +680,7 @@ public final class JexlSandbox { @Deprecated public static final class WhiteSet extends AllowSet { /** Default constructor */ - public WhiteSet() { super(); }; // Keep Javadoc happy + public WhiteSet() { } // Keep Javadoc happy } /**