File tree Expand file tree Collapse file tree 2 files changed +12
-18
lines changed
src/main/java/io/reactivex/rxjava3/processors Expand file tree Collapse file tree 2 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -306,17 +306,14 @@ public void onComplete() {
306
306
}
307
307
308
308
/**
309
- * Tries to emit the item to all currently subscribed Subscribers if all of them
310
- * has requested some value, returns false otherwise.
309
+ * Tries to emit the item to all currently subscribed {@link Subscriber}s if all of them
310
+ * has requested some value, returns {@code false} otherwise.
311
311
* <p>
312
- * This method should be called in a sequential manner just like the onXXX methods
313
- * of the PublishProcessor.
314
- * <p>
315
- * Calling with a null value will terminate the PublishProcessor and a NullPointerException
316
- * is signaled to the Subscribers.
312
+ * This method should be called in a sequential manner just like the {@code onXXX} methods
313
+ * of this {@code BehaviorProcessor}.
317
314
* <p>History: 2.0.8 - experimental
318
- * @param t the item to emit, not null
319
- * @return true if the item was emitted to all Subscribers
315
+ * @param t the item to emit, not {@code null}
316
+ * @return {@code true} if the item was emitted to all {@code Subscriber}s
320
317
* @throws NullPointerException if {@code t} is {@code null}
321
318
* @since 2.2
322
319
*/
Original file line number Diff line number Diff line change @@ -271,17 +271,14 @@ public void onComplete() {
271
271
}
272
272
273
273
/**
274
- * Tries to emit the item to all currently subscribed Subscribers if all of them
275
- * has requested some value, returns false otherwise.
274
+ * Tries to emit the item to all currently subscribed {@link Subscriber}s if all of them
275
+ * has requested some value, returns {@code false} otherwise.
276
276
* <p>
277
- * This method should be called in a sequential manner just like the onXXX methods
278
- * of the PublishProcessor.
279
- * <p>
280
- * Calling with a null value will terminate the PublishProcessor and a NullPointerException
281
- * is signaled to the Subscribers.
277
+ * This method should be called in a sequential manner just like the {@code onXXX} methods
278
+ * of this {@code PublishProcessor}.
282
279
* <p>History: 2.0.8 - experimental
283
- * @param t the item to emit, not null
284
- * @return true if the item was emitted to all Subscribers
280
+ * @param t the item to emit, not {@code null}
281
+ * @return {@code true} if the item was emitted to all {@code Subscriber}s
285
282
* @throws NullPointerException if {@code t} is {@code null}
286
283
* @since 2.2
287
284
*/
You can’t perform that action at this time.
0 commit comments