RFR: 8288882: JFileChooser - empty (0 bytes) file is displayed as 1 KB [v12]

Abhishek Kumar duke at openjdk.org
Wed Jul 27 04:32:02 UTC 2022


On Tue, 26 Jul 2022 19:14:52 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> 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`

space added.

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

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



More information about the client-libs-dev mailing list