Skip to content

Commit 5b6d1f8

Browse files
Jawnnypooakarnokd
authored andcommitted
Use t instead of value to allow for IDE naming (#4907)
1 parent 9f24df9 commit 5b6d1f8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/main/java/io/reactivex/MaybeObserver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ public interface MaybeObserver<T> {
4545
* <p>
4646
* The {@link Maybe} will not call this method if it calls {@link #onError}.
4747
*
48-
* @param value
48+
* @param t
4949
* the item emitted by the Maybe
5050
*/
51-
void onSuccess(T value);
51+
void onSuccess(T t);
5252

5353
/**
5454
* Notifies the MaybeObserver that the {@link Maybe} has experienced an error condition.

src/main/java/io/reactivex/Observer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ public interface Observer<T> {
5050
* The {@code Observable} will not call this method again after it calls either {@link #onComplete} or
5151
* {@link #onError}.
5252
*
53-
* @param value
53+
* @param t
5454
* the item emitted by the Observable
5555
*/
56-
void onNext(T value);
56+
void onNext(T t);
5757

5858
/**
5959
* Notifies the Observer that the {@link Observable} has experienced an error condition.

src/main/java/io/reactivex/SingleObserver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public interface SingleObserver<T> {
4747
* <p>
4848
* The {@link Single} will not call this method if it calls {@link #onError}.
4949
*
50-
* @param value
50+
* @param t
5151
* the item emitted by the Single
5252
*/
53-
void onSuccess(T value);
53+
void onSuccess(T t);
5454

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

0 commit comments

Comments
 (0)