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

Typo in java.util.stream.Collector

XMLWordPrintable

      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

            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: