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

(fs) Typo in Files.newByteChannel javadoc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5
    • 8
    • 8
    • core-libs
    • b36
    • generic
    • generic
    • Verified

    Description

      > Hi Sowmya,
      >
      > Reporting a small error in the SE 7 java docs that I just happened to come across - it's in the documentation of the java.nio.file.Files.newByteChannel method - the angle brackets around PosixFilePermission are misplaced -
      >
      > FileAttribute<<SetPosixFilePermission>> perms = ...
      >
      > should be
      >
      > FileAttribute<Set<PosixFilePermission>> perms = ...
      >
      > http://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html#newByteChannel%28java.nio.file.Path,%20java.util.Set,%20java.nio.file.attribute.FileAttribute...%29
      >
      > I have'nt checked if this error is found elsewhere or if there are other similar errors - I will let you know if I find others.

      Attachments

        Activity

          People

            jgish Jim Gish (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: