On Fri, 22 Jul 2022 07:50:57 GMT, Abhishek Kumar <d...@openjdk.org> wrote:

>> JFileChooser - empty file size issue fixed. 
>> For empty file, now the size 0 bytes.
>> Manual Test Case "ZeroFileSizeCheck.java" created.
>
> Abhishek Kumar has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   declare variable for 1000.0 and method formatToDoubleValue moved inside 
> class

src/java.desktop/share/classes/sun/swing/FilePane.java line 1195:

> 1193:             } else if (value instanceof Long len) {
> 1194:                 if (listViewWindowsStyle) {
> 1195:                     if(len == 0) {

let's add space after `if`

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

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

Reply via email to