Skip to content

Commit 3655b4d

Browse files
committed
Remove redundant public/abstract modifiers on interfaces
1 parent 2a27fa8 commit 3655b4d

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

core/src/main/java/fj/F.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ public interface F<A, B> {
4545
* @param a The <code>A</code> to transform.
4646
* @return The result of the transformation.
4747
*/
48-
public abstract B f(A a);
48+
B f(A a);
4949

5050
}

core/src/main/java/fj/F0.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
*/
66
public interface F0<A> {
77

8-
public A f();
8+
A f();
99

1010
}

core/src/main/java/fj/F2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ public interface F2<A, B, C> {
3333
* @param b The <code>B</code> to transform.
3434
* @return The result of the transformation.
3535
*/
36-
public C f(A a, B b);
36+
C f(A a, B b);
3737

3838
}

core/src/main/java/fj/F3.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ public interface F3<A, B, C, D> {
1515
* @param c The <code>C</code> to transform.
1616
* @return The result of the transformation.
1717
*/
18-
public D f(A a, B b, C c);
18+
D f(A a, B b, C c);
1919
}

core/src/main/java/fj/F4.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ public interface F4<A, B, C, D, E> {
1616
* @param d The <code>D</code> to transform.
1717
* @return The result of the transformation.
1818
*/
19-
public E f(A a, B b, C c, D d);
19+
E f(A a, B b, C c, D d);
2020
}

core/src/main/java/fj/F5.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ public interface F5<A, B, C, D, E, F$> {
1919
* @param e The <code>E</code> to transform.
2020
* @return The result of the transformation.
2121
*/
22-
public F$ f(A a, B b, C c, D d, E e);
22+
F$ f(A a, B b, C c, D d, E e);
2323
}

core/src/main/java/fj/F6.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ public interface F6<A, B, C, D, E, F$, G> {
2020
* @param f The <code>F$</code> to transform.
2121
* @return The result of the transformation.
2222
*/
23-
public G f(A a, B b, C c, D d, E e, F$ f);
23+
G f(A a, B b, C c, D d, E e, F$ f);
2424
}

core/src/main/java/fj/F7.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ public interface F7<A, B, C, D, E, F$, G, H> {
2121
* @param g The <code>G</code> to transform.
2222
* @return The result of the transformation.
2323
*/
24-
public H f(A a, B b, C c, D d, E e, F$ f, G g);
24+
H f(A a, B b, C c, D d, E e, F$ f, G g);
2525
}

core/src/main/java/fj/F8.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ public interface F8<A, B, C, D, E, F$, G, H, I> {
2222
* @param h The <code>H</code> to transform.
2323
* @return The result of the transformation.
2424
*/
25-
public I f(A a, B b, C c, D d, E e, F$ f, G g, H h);
25+
I f(A a, B b, C c, D d, E e, F$ f, G g, H h);
2626
}

core/src/main/java/fj/data/IO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
*/
1616
public interface IO<A> {
1717

18-
public A run() throws IOException;
18+
A run() throws IOException;
1919

2020
}

0 commit comments

Comments
 (0)