This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git

commit 76a243c58776c577935985f6114b9597e5725dab
Author: Allon Mureinik <murei...@gmail.com>
AuthorDate: Fri Feb 8 19:34:40 2019 +0200

    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 ed76cb7..fe74bf1 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);

Reply via email to