Integrated: JDK-8297332: Remove easy warnings in javafx.base

John Hendrikx jhendrikx at openjdk.org
Tue Nov 22 00:35:20 UTC 2022


On Mon, 21 Nov 2022 11:53:30 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

This pull request has now been integrated.

Changeset: 9819d45b
Author:    John Hendrikx <jhendrikx at openjdk.org>
Committer: Nir Lisker <nlisker at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/9819d45bb1eb63253be5e951c6e10a779dc71a1e
Stats:     1269 lines in 265 files changed: 32 ins; 169 del; 1068 mod

8297332: Remove easy warnings in javafx.base

Reviewed-by: nlisker, angorya

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

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


More information about the openjfx-dev mailing list