RFR: JDK-8297413: Remove easy warnings in javafx.graphics [v4]
Andy Goryachev
angorya at openjdk.org
Tue Dec 6 03:07:16 UTC 2022
On Sat, 3 Dec 2022 20:54:04 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 indentations and merge short lines
explanations accepted.
-------------
Marked as reviewed by angorya (Committer).
PR: https://git.openjdk.org/jfx/pull/960
More information about the openjfx-dev
mailing list