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 2020/11/20 23:00:27 UTC
[commons-jexl] branch master updated: Remove redundant calls to
super().
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 0bb8673 Remove redundant calls to super().
0bb8673 is described below
commit 0bb8673cf778d753c730a1251dc596a5a2d5405b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Nov 20 18:00:22 2020 -0500
Remove redundant calls to super().
---
.../java/org/apache/commons/jexl3/internal/introspection/MethodKey.java | 2 --
src/main/java/org/apache/commons/jexl3/parser/ParseException.java | 1 -
src/test/java/org/apache/commons/jexl3/LexicalTest.java | 1 -
src/test/java/org/apache/commons/jexl3/MethodTest.java | 1 -
4 files changed, 5 deletions(-)
diff --git a/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java b/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java
index c1ba35b..3700a99 100644
--- a/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java
+++ b/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java
@@ -65,7 +65,6 @@ public final class MethodKey {
* @param args the intended method arguments
*/
public MethodKey(String aMethod, Object[] args) {
- super();
// !! keep this in sync with the other ctor (hash code) !!
this.method = aMethod;
int hash = this.method.hashCode();
@@ -108,7 +107,6 @@ public final class MethodKey {
* @param args the intended method parameters
*/
MethodKey(String aMethod, Class<?>[] args) {
- super();
// !! keep this in sync with the other ctor (hash code) !!
this.method = aMethod.intern();
int hash = this.method.hashCode();
diff --git a/src/main/java/org/apache/commons/jexl3/parser/ParseException.java b/src/main/java/org/apache/commons/jexl3/parser/ParseException.java
index b88ca46..c5fb6e7 100644
--- a/src/main/java/org/apache/commons/jexl3/parser/ParseException.java
+++ b/src/main/java/org/apache/commons/jexl3/parser/ParseException.java
@@ -65,7 +65,6 @@ public class ParseException extends Exception implements JavaccError {
* Default ctor.
*/
public ParseException() {
- super();
}
/** Constructor with message. */
diff --git a/src/test/java/org/apache/commons/jexl3/LexicalTest.java b/src/test/java/org/apache/commons/jexl3/LexicalTest.java
index 83d1b52..58e05a8 100644
--- a/src/test/java/org/apache/commons/jexl3/LexicalTest.java
+++ b/src/test/java/org/apache/commons/jexl3/LexicalTest.java
@@ -289,7 +289,6 @@ public class LexicalTest {
public static class DebugContext extends MapContext {
public DebugContext() {
- super();
}
public Object debug(Object arg) {
return arg;
diff --git a/src/test/java/org/apache/commons/jexl3/MethodTest.java b/src/test/java/org/apache/commons/jexl3/MethodTest.java
index 5c23505..5e6a02c 100644
--- a/src/test/java/org/apache/commons/jexl3/MethodTest.java
+++ b/src/test/java/org/apache/commons/jexl3/MethodTest.java
@@ -104,7 +104,6 @@ public class MethodTest extends JexlTestCase {
final Map<String, Object> funcs;
EnhancedContext(Map<String, Object> funcs) {
- super();
this.funcs = funcs;
}