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

Minor typo in the spec for j.u.stream.Stream.findFirst()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      8
    • Resolved In Build:
      b94
    • Verification:
      Verified

      Description

      For JDK8b89 spec

      http://download.java.net/jdk8/docs/api/java/util/stream/Stream.html#findFirst()

      > "If the stream has no encounter order, than any element may be returned."

      I could assume than it should be "then", not "than"

        Attachments

          Activity

            People

            • Assignee:
              psandoz Paul Sandoz
              Reporter:
              dbessono Dmitry Bessonov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: