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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • core-libs
    • 8
    • b94
    • Verified

      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"

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

              Created:
              Updated:
              Resolved: