Skip to content

Commit afdad7f

Browse files
Merge pull request #2866 from davidmoten/Action1-argument-name
Use simpler naming in Action1, Func1 to assist IDEs
2 parents 69f4139 + a6b70e0 commit afdad7f

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)