On Wed, 10 Aug 2022 05:30:56 GMT, Abhishek Kumar <[email protected]> wrote:

>> JFileChooser - empty file size issue fixed. 
>> For empty file, now the size 0 KB.
>> Manual Test Case "FileSizeCheck.java" created.
>
> Abhishek Kumar has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   updated as per  review comments

To have all files 1->1000 bytes be 1.0kB and  yet 1,100 -> 1,200 bytes be 1.1kB 
does seem anomalous
from a precision perspective, since the major order of magnitude would seem to 
be more important to describe.

Since we already aren't going to say "bytes" for those small files, then just 
getting that precision with
 the decimal point seems better - as well as being consistent !

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

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

Reply via email to