8210341: (fs) Typos in PosixFileAttributeView javadoc
Claes Redestad
claes.redestad at oracle.com
Tue Sep 4 09:45:20 UTC 2018
Looks good
/Claes
Alan Bateman <Alan.Bateman at oracle.com> skrev: (4 september 2018 08:38:50 CEST)
>I need a Reviewer to fix two typos in the PosixFileAttributeView's
>javadoc. The proposed change is attached.
>
>-Alan
>
>diff --git
>a/src/java.base/share/classes/java/nio/file/attribute/PosixFileAttributeView.java
>
>b/src/java.base/share/classes/java/nio/file/attribute/PosixFileAttributeView.java
>---
>a/src/java.base/share/classes/java/nio/file/attribute/PosixFileAttributeView.java
>+++
>b/src/java.base/share/classes/java/nio/file/attribute/PosixFileAttributeView.java
>@@ -1,5 +1,5 @@
> /*
>- * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights
>reserved.
>+ * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights
>reserved.
> * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
> *
> * This code is free software; you can redistribute it and/or modify
>it
>@@ -50,7 +50,7 @@
> *
> * <p> The {@link PosixFileAttributes#permissions() permissions}
>attribute is a
> * set of access permissions. This file attribute view provides access
>
>to the nine
>- * permission defined by the {@link PosixFilePermission} class.
>+ * permission bits defined by the {@link PosixFilePermission} class.
> * These nine permission bits determine the <em>read</em>,
><em>write</em>, and
> * <em>execute</em> access for the file owner, group, and others
>(others
> * meaning identities other than the owner and members of the group).
>Some
>@@ -126,7 +126,7 @@
> * </pre>
> *
> * <p> When the access permissions are set at file creation time then
>the actual
>- * value of the permissions may differ that the value of the attribute
>
>object.
>+ * value of the permissions may differ from the value of the attribute
>
>object.
> * The reasons for this are implementation specific. On UNIX systems,
>for
> * example, a process has a <em>umask</em> that impacts the permission
>
>bits
> * of newly created files. Where an implementation supports the
>setting of
--
Skickat från min Android-enhet med K-9 Mail. Ursäkta min fåordighet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180904/3bc433cc/attachment.html>
More information about the nio-dev
mailing list