changeset 7822:25f122a48151

Docs.
author psandoz
date Fri, 05 Apr 2013 14:34:01 +0200
parents 137dc53c9f85
children d92f53c4c7ba
files src/share/classes/java/util/stream/Sink.java src/share/classes/java/util/stream/StreamOpFlag.java
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/stream/Sink.java	Fri Apr 05 11:25:17 2013 +0200
+++ b/src/share/classes/java/util/stream/Sink.java	Fri Apr 05 14:34:01 2013 +0200
@@ -121,7 +121,7 @@
      * before sending any data to the sink.  After calling {@link #end()},
      * you may call this method to reset the sink for another calculation.
      * @param size The exact size of the data to be pushed downstream, if
-     * known or {@code Long.MAX_VALUE} if unknown or infinite.
+     * known or {@code -1} if unknown or infinite.
      *
      * <p>Prior to this call, the sink must be in the initial state, and after
      * this call it is in the active state.
--- a/src/share/classes/java/util/stream/StreamOpFlag.java	Fri Apr 05 11:25:17 2013 +0200
+++ b/src/share/classes/java/util/stream/StreamOpFlag.java	Fri Apr 05 14:34:01 2013 +0200
@@ -201,9 +201,6 @@
  *
  * @since 1.8
  */
-// @@@ When a new flag is added what should happen for existing operations?
-//     Need to move to a builder approach used by ops where the masks for the new flag are
-//     taken into account for default behaviour.
 enum StreamOpFlag {
 
     /*