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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P4
    • Resolution: Fixed
    • None
    • 8
    • core-libs
    • 8
    • b94
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: