Skip to content

Commit a6b70e0

Browse files
committed
use simpler naming in Action1, Func1 because is used as a default for IDEs when generating implementing methods
1 parent d53c1be commit a6b70e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/rx/functions/Action1.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
/**
1919
* A one-argument action.
2020
*/
21-
public interface Action1<T1> extends Action {
22-
void call(T1 t1);
21+
public interface Action1<T> extends Action {
22+
void call(T t);
2323
}

src/main/java/rx/functions/Func1.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
/**
1919
* Represents a function with one argument.
2020
*/
21-
public interface Func1<T1, R> extends Function {
22-
R call(T1 t1);
21+
public interface Func1<T, R> extends Function {
22+
R call(T t);
2323
}

0 commit comments

Comments
 (0)