Skip to content

Commit e971c4a

Browse files
Pratakarnokd
Prat
authored andcommitted
1.x: Fix TestSubscriber.create doc
1 parent add272d commit e971c4a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/rx/observers/TestSubscriber.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,12 @@ public static <T> TestSubscriber<T> create(long initialRequest) {
145145
public static <T> TestSubscriber<T> create(Observer<T> delegate, long initialRequest) {
146146
return new TestSubscriber<T>(delegate, initialRequest);
147147
}
148-
148+
149149
/**
150-
* Factory method to construct a TestSubscriber which delegates events to the given Observer and
150+
* Factory method to construct a TestSubscriber which delegates events to the given Subscriber and
151151
* an issues an initial request of Long.MAX_VALUE.
152152
* @param <T> the value type
153-
* @param delegate the observer to delegate events to
153+
* @param delegate the subscriber to delegate events to
154154
* @return the created TestSubscriber instance
155155
* @throws NullPointerException if delegate is null
156156
* @since 1.1.0
@@ -160,10 +160,10 @@ public static <T> TestSubscriber<T> create(Subscriber<T> delegate) {
160160
}
161161

162162
/**
163-
* Factory method to construct a TestSubscriber which delegates events to the given Subscriber and
163+
* Factory method to construct a TestSubscriber which delegates events to the given Observer and
164164
* an issues an initial request of Long.MAX_VALUE.
165165
* @param <T> the value type
166-
* @param delegate the subscriber to delegate events to
166+
* @param delegate the observer to delegate events to
167167
* @return the created TestSubscriber instance
168168
* @throws NullPointerException if delegate is null
169169
* @since 1.1.0

0 commit comments

Comments
 (0)