Skip to content

Commit 57a9c09

Browse files
Jawnnypooakarnokd
authored andcommitted
Use t instead of value to allow for IDE naming (ReactiveX#4908)
1 parent 0b37a7e commit 57a9c09

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/rx/SingleSubscriber.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public abstract class SingleSubscriber<T> implements Subscription {
4343
* <p>
4444
* The {@link Single} will not call this method if it calls {@link #onError}.
4545
*
46-
* @param value
46+
* @param t
4747
* the item emitted by the Single
4848
*/
49-
public abstract void onSuccess(T value);
49+
public abstract void onSuccess(T t);
5050

5151
/**
5252
* Notifies the SingleSubscriber that the {@link Single} has experienced an error condition.

src/main/java/rx/observers/SafeSubscriber.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ public void onError(Throwable e) {
124124
* The {@code Observable} will not call this method again after it calls either {@link #onCompleted} or
125125
* {@link #onError}.
126126
*
127-
* @param args
127+
* @param t
128128
* the item emitted by the Observable
129129
*/
130130
@Override
131-
public void onNext(T args) {
131+
public void onNext(T t) {
132132
try {
133133
if (!done) {
134-
actual.onNext(args);
134+
actual.onNext(t);
135135
}
136136
} catch (Throwable e) {
137137
// we handle here instead of another method so we don't add stacks to the frame

0 commit comments

Comments
 (0)