RFR: 8283335 : Add exists and readAttributesIfExists methods to FileSystemProvider

Brian Burkhalter bpb at openjdk.org
Wed Jun 22 20:02:55 UTC 2022


On Wed, 22 Jun 2022 19:54:47 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java line 1218:
>> 
>>> 1216: 
>>> 1217:     /**
>>> 1218:      * Reads a file's attributes as a bulk operation if it exists.
>> 
>> Maybe instead "it" put "the file"?
>
> I can if you think that is better.  I followed the wording for `FileSystemProvider::deleteIfExists` trying to be consistent

Then leave is as is.

-------------

PR: https://git.openjdk.org/jdk/pull/9249


More information about the core-libs-dev mailing list