Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8151785

Doc typo in src/../java/util/stream/PipelineHelper.java

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8, 9
    • Fix Version/s: 9
    • Component/s: core-libs

      Description

      There is a typo in doc for method wrapAndCopyInto(S sink, Spliterator<P_IN> spliterator) in src/java.base/share/classes/java/util/stream/PipelineHelper.java
      it should be "copyInto(wrapSink(sink), spliterator);", but it is "intoWrapped(wrapSink(sink), spliterator);", there is no method called intoWrapped.

        Attachments

          Activity

            People

            • Assignee:
              mli Hamlin Li
              Reporter:
              mli Hamlin Li
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: