OpenJDK / jdk / jdk
changeset 54441:03ea2b6428f0
8221597: A typo in the Java API doc for File.getUsableSpace()
Reviewed-by: lancea, darcy
author | bpb |
---|---|
date | Fri, 05 Apr 2019 08:37:33 -0700 |
parents | 23a04fe2aca2 |
children | 172f929786ea |
files | src/java.base/share/classes/java/io/File.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.base/share/classes/java/io/File.java Fri Apr 05 09:53:07 2019 -0400 +++ b/src/java.base/share/classes/java/io/File.java Fri Apr 05 08:37:33 2019 -0700 @@ -1869,7 +1869,7 @@ * * <p> The returned number of available bytes is a hint, but not a * guarantee, that it is possible to use most or any of these bytes. The - * number of unallocated bytes is most likely to be accurate immediately + * number of available bytes is most likely to be accurate immediately * after this call. It is likely to be made inaccurate by any external * I/O operations including those made on the system outside of this * virtual machine. This method makes no guarantee that write operations