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

Typo in java.util.stream.Collector

    XMLWordPrintable

    Details

      Description

      A DESCRIPTION OF THE PROBLEM :
      Collector / finisher method

      In the description of the finisher method, there is a misstype:

      "If the characteristic IDENTITY_TRANSFORM is set,"

       IDENTITY_TRANSFORM => in the enum this is IDENTITY_FINISH

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      IDENTITY_FINISH
      ACTUAL -
       IDENTITY_TRANSFORM

      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/8/docs/api/index.html?java/util/stream/Collectors.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psonal Pallavi Sonal
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: