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

Missing word in API documentation

XMLWordPrintable

    • b128
    • generic
    • generic
    • Not verified

      A DESCRIPTION OF THE PROBLEM :
      In class Files
      method public static Path write(Path path,
                               Iterable<? extends CharSequence> lines,
                               Charset cs,
                               OpenOption... options)

      the last sentence of the 2nd paragraph should read ...

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      If an I/O error occurs then it may do so after the file has BEEN created or truncated, or after some bytes have been written to the file.

      (Omitted word in capitals)
      ACTUAL -
      If an I/O error occurs then it may do so after the file has created or truncated, or after some bytes have been written to the file.

      URL OF FAULTY DOCUMENTATION :
      http://docs.oracle.com/javase/8/docs/api/index.html

            bpb Brian Burkhalter
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: