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

Kevin Rushforth kcr at openjdk.org
Wed Nov 30 12:59:35 UTC 2022


On Mon, 28 Nov 2022 13:39:05 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

>> - Remove unsupported/unnecessary SuppressWarning annotations
>> - Remove reduntant type specifications (use diamond operator)
>> - Remove unused or duplicate imports
>> - Remove unnecessary casts (type is already correct type or can be autoboxed)
>> - Remove unnecessary semi-colons (at end of class definitions, or just repeated ones)
>> - Remove redundant super interfaces (interface that is already inherited)
>> - Remove unused type parameters
>> - Remove declared checked exceptions that are never thrown
>> - Add missing `@Override` annotations
>
> John Hendrikx has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix indentation

Additional inline comments.

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

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


More information about the openjfx-dev mailing list