Skip to content

Commit

Permalink
Merge pull request ReactiveX#2866 from davidmoten/Action1-argument-name
Browse files Browse the repository at this point in the history
Use simpler naming in Action1, Func1 to assist IDEs
  • Loading branch information
benjchristensen committed Apr 9, 2015
2 parents 69f4139 + a6b70e0 commit afdad7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/rx/functions/Action1.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
/**
* A one-argument action.
*/
public interface Action1<T1> extends Action {
void call(T1 t1);
public interface Action1<T> extends Action {
void call(T t);
}
4 changes: 2 additions & 2 deletions src/main/java/rx/functions/Func1.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
/**
* Represents a function with one argument.
*/
public interface Func1<T1, R> extends Function {
R call(T1 t1);
public interface Func1<T, R> extends Function {
R call(T t);
}

0 comments on commit afdad7f

Please sign in to comment.