RFR: 8296275: Write a test to verify setAccelerator method of JMenuItem [v8]

Naveen Narayanan duke at openjdk.org
Thu Dec 15 16:40:06 UTC 2022


On Wed, 14 Dec 2022 16:00:35 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> My IDE’s formatter auto wraps this line for 80 chars.
>> After every code change & formatting, I have to manually unwrap these lines.
>> There are 3 lines to  unwrap manually.
>
>> My IDE’s formatter auto wraps this line for 80 chars. After every code change & formatting, I have to manually unwrap these lines. There are 3 lines to unwrap manually.
> 
> Then disable automatic reformatting of the entire file. It won't do much good to you in the long term anyway because it may modify the lines you didn't touch and eventually introduce unnecessary noise into the changes. This is what we're seeing now.

The OpenJDK code style formatter takes care of  many aspects like Indentation, Parentheses positions, Whitespaces, Blank lines etc.
Someway It assists to prevent few of the jcheck failures. 
May be lessens a lot of manual formatting as well.

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

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



More information about the client-libs-dev mailing list