[PATCH] 7133806 (fs) Typo in Files.newByteChannel javadoc
Chris Hegarty
chris.hegarty at oracle.com
Wed Apr 4 06:34:12 PDT 2012
Thanks for the contribution Jim, looks fine to me.
Are you an author for the jdk8 project? I think you should request to
be, otherwise I can push this for you listing you as the contributor.
-Chris.
On 04/04/2012 14:29, Jim Gish wrote:
>
> Description: just a trivial javadoc change
>
> Patch:
>
> diff --git a/src/share/classes/java/nio/file/Files.java
> b/src/share/classes/java/nio/file/Files.java
> --- a/src/share/classes/java/nio/file/Files.java
> +++ b/src/share/classes/java/nio/file/Files.java
> @@ -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>
> *
>
> Test: none required.
>
> Thanks,
> Jim Gish
>
> (P.S. this is my first attempt at this process -- please be gentle :-) )
>
>
More information about the nio-dev
mailing list