JDK 9 doc-api-only RFR of 7086489: File.lastModified should accuracy as well as resolution

Stuart Marks stuart.marks at oracle.com
Wed May 17 21:09:26 UTC 2017


On 5/17/17 1:28 PM, Brian Burkhalter wrote:
> This wording "the unit of time of the return value is a millisecond” sounds 
> weird. I would have written "the unit of time of the return value is 
> milliseconds.”
OK.
> How about then (ignore formatting)?
>
>     * @apiNote
>     * While the unit of time of the return value is milliseconds,
>     * the granularity of the value depends on the underlying
>     * file system and may be larger.  For example, some
>     * file systems use time stamps in units of seconds.
This looks good! I trust you with the formatting. You can go ahead and push; I 
don't need another review.

Thanks,

s'marks



More information about the core-libs-dev mailing list