FunctionTest redundant constructor modifier
Remove redundant public modifiers from inner classes constructors as per the project's Checkstyle rules.
This commit is contained in:
parent
95926eb5d9
commit
76a243c587
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue