Skip to content

Commit 0fa7896

Browse files
committed
Update doc comments.
1 parent 96760af commit 0fa7896

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/Observable.scala

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,8 @@ trait Observable[+T]
354354
* Creates an Observable which produces buffers of collected values.
355355
*
356356
* This Observable produces buffers. Buffers are created when the specified `openings`
357-
* Observable produces an object. Additionally the function argument
358-
* is used to create an Observable which produces [[rx.lang.scala.util.Closing]] objects. When this
359-
* Observable produces such an object, the associated buffer is emitted.
357+
* Observable produces an object. That object is used to construct an Observable to emit buffers, feeding it into `closings` function.
358+
* Buffers are emitted when the created Observable produces an object.
360359
*
361360
* @param openings
362361
* The [[rx.lang.scala.Observable]] which, when it produces an object, will cause
@@ -566,10 +565,9 @@ trait Observable[+T]
566565
}
567566

568567
/**
569-
* Creates an Observable which produces windows of collected values. This Observable produces windows.
570-
* Chunks are created when the specified `openings` Observable produces an object.
571-
* Additionally the `closings` argument is used to create an Observable which produces [[rx.lang.scala.util.Closing]] objects.
572-
* When this Observable produces such an object, the associated window is emitted.
568+
* Creates an Observable which produces windows of collected values. Chunks are created when the specified `openings`
569+
* Observable produces an object. That object is used to construct an Observable to emit windows, feeding it into `closings` function.
570+
* Windows are emitted when the created Observable produces an object.
573571
*
574572
* @param openings
575573
* The [[rx.lang.scala.Observable]] which when it produces an object, will cause

0 commit comments

Comments
 (0)