RFR: JDK-8297413: Remove easy warnings in javafx.graphics [v4]

Kevin Rushforth kcr at openjdk.org
Tue Dec 6 12:39:19 UTC 2022


On Sat, 3 Dec 2022 20:46:22 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/LinuxStatefulMultiTouchProcessor.java line 42:
>> 
>>> 40: 
>>> 41:     private final Map<Integer, Integer> slotToIDMap =
>>> 42:             new HashMap<>();
>> 
>> Same line. There are more places where this formatting can be fixed, but it's up to you.
>
> I'll only fix the lines that were touched, as there are many many places that could be written more succinct.

Yes, tempting as it is to reformat an entire file, it's best to limit reformatting changes to the places you are otherwise modifying.

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

PR: https://git.openjdk.org/jfx/pull/960


More information about the openjfx-dev mailing list