Skip to content

Commit

Permalink
Use t instead of value to allow for IDE naming (#4907)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo authored and akarnokd committed Dec 7, 2016
1 parent 9f24df9 commit 5b6d1f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/reactivex/MaybeObserver.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public interface MaybeObserver<T> {
* <p>
* The {@link Maybe} will not call this method if it calls {@link #onError}.
*
* @param value
* @param t
* the item emitted by the Maybe
*/
void onSuccess(T value);
void onSuccess(T t);

/**
* Notifies the MaybeObserver that the {@link Maybe} has experienced an error condition.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/reactivex/Observer.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ public interface Observer<T> {
* The {@code Observable} will not call this method again after it calls either {@link #onComplete} or
* {@link #onError}.
*
* @param value
* @param t
* the item emitted by the Observable
*/
void onNext(T value);
void onNext(T t);

/**
* Notifies the Observer that the {@link Observable} has experienced an error condition.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/reactivex/SingleObserver.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public interface SingleObserver<T> {
* <p>
* The {@link Single} will not call this method if it calls {@link #onError}.
*
* @param value
* @param t
* the item emitted by the Single
*/
void onSuccess(T value);
void onSuccess(T t);

/**
* Notifies the SingleObserver that the {@link Single} has experienced an error condition.
Expand Down

0 comments on commit 5b6d1f8

Please sign in to comment.