From 76a243c58776c577935985f6114b9597e5725dab Mon Sep 17 00:00:00 2001 From: Allon Mureinik Date: Fri, 8 Feb 2019 19:34:40 +0200 Subject: [PATCH] FunctionTest redundant constructor modifier Remove redundant public modifiers from inner classes constructors as per the project's Checkstyle rules. --- src/test/java/org/apache/commons/lang3/FunctionsTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/FunctionsTest.java b/src/test/java/org/apache/commons/lang3/FunctionsTest.java index ed76cb75e..fe74bf11c 100644 --- a/src/test/java/org/apache/commons/lang3/FunctionsTest.java +++ b/src/test/java/org/apache/commons/lang3/FunctionsTest.java @@ -35,7 +35,7 @@ class FunctionsTest { private Throwable t; - public SomeException(String pMsg) { + SomeException(String pMsg) { super(pMsg); } @@ -52,7 +52,7 @@ class FunctionsTest { public static class Testable { private Throwable t; - public Testable(Throwable pTh) { + Testable(Throwable pTh) { t = pTh; } @@ -84,7 +84,7 @@ class FunctionsTest { public static class FailureOnOddInvocations { private static int invocation; - public FailureOnOddInvocations() throws SomeException { + FailureOnOddInvocations() throws SomeException { final int i = ++invocation; if (i % 2 == 1) { throw new SomeException("Odd Invocation: " + i);