7133806: Typo in Files.newByteChannel javadoc
authorjgish
Thu, 05 Apr 2012 13:57:37 +0100
changeset 12421 d05601e5d80b
parent 12420 9bcfb332d398
child 12422 7058f568e4cc
7133806: Typo in Files.newByteChannel javadoc Reviewed-by: chegar
jdk/src/share/classes/java/nio/file/Files.java
--- a/jdk/src/share/classes/java/nio/file/Files.java	Wed Apr 04 15:57:04 2012 -0700
+++ b/jdk/src/share/classes/java/nio/file/Files.java	Thu Apr 05 13:57:37 2012 +0100
@@ -269,7 +269,7 @@
      *     WritableByteChannel wbc = Files.newByteChannel(path, EnumSet.of(CREATE,APPEND));
      *
      *     // create file with initial permissions, opening it for both reading and writing
-     *     {@code FileAttribute<<SetPosixFilePermission>> perms = ...}
+     *     {@code FileAttribute<Set<PosixFilePermission>> perms = ...}
      *     SeekableByteChannel sbc = Files.newByteChannel(path, EnumSet.of(CREATE_NEW,READ,WRITE), perms);
      * </pre>
      *