8316000: Align the spec and return verbiage

This commit is contained in:
Brian Burkhalter 2023-09-22 15:36:00 -07:00
parent 8640decdd0
commit 8189784ace

View file

@ -1621,9 +1621,9 @@ public class File
* file attributes including file permissions. This may be used when finer * file attributes including file permissions. This may be used when finer
* manipulation of file permissions is required. * manipulation of file permissions is required.
* *
* <p> On platforms which do not support setting a file's read permission, * <p> If the underlying file system does not implement a read permission,
* this method does nothing and returns the value of the {@code readable} * then this method does nothing and returns the value of the
* parameter. * {@code readable} parameter.
* *
* @param readable * @param readable
* If {@code true}, sets the access permission to allow read * If {@code true}, sets the access permission to allow read
@ -1675,9 +1675,9 @@ public class File
* file.setReadable(arg, true) * file.setReadable(arg, true)
* } * }
* *
* <p> On platforms which do not support setting a file's read permission, * <p> If the underlying file system does not implement a read permission,
* this method does nothing and returns the value of the {@code readable} * then this method does nothing and returns the value of the
* parameter. * {@code readable} parameter.
* *
* @param readable * @param readable
* If {@code true}, sets the access permission to allow read * If {@code true}, sets the access permission to allow read
@ -1711,9 +1711,9 @@ public class File
* file attributes including file permissions. This may be used when finer * file attributes including file permissions. This may be used when finer
* manipulation of file permissions is required. * manipulation of file permissions is required.
* *
* <p> On platforms which do not support setting a file's execute permission, * <p> If the underlying file system does not implement an execute
* this method does nothing and returns the value of the {@code executable} * permission, then this method does nothing and returns the value of the
* parameter. * {@code executable} parameter.
* *
* @param executable * @param executable
* If {@code true}, sets the access permission to allow execute * If {@code true}, sets the access permission to allow execute
@ -1765,9 +1765,9 @@ public class File
* file.setExecutable(arg, true) * file.setExecutable(arg, true)
* } * }
* *
* <p> On platforms which do not support setting a file's execute permission, * <p> If the underlying file system does not implement an execute
* this method does nothing and returns the value of the {@code executable} * permission, then this method does nothing and returns the value of the
* parameter. * {@code executable} parameter.
* *
* @param executable * @param executable
* If {@code true}, sets the access permission to allow execute * If {@code true}, sets the access permission to allow execute