(fs) Typo in Files.newByteChannel javadoc

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • b36
    • generic
    • generic
    • Verified

      > 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: