Integrated: JDK-8297413: Remove easy warnings in javafx.graphics

John Hendrikx jhendrikx at openjdk.org
Tue Dec 6 14:28:12 UTC 2022


On Tue, 22 Nov 2022 18:39:43 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: f333662a
Author:    John Hendrikx <jhendrikx at openjdk.org>
Committer: Nir Lisker <nlisker at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/f333662abe61a19a4d8a7b10ee4c409a22f2d63e
Stats:     3226 lines in 619 files changed: 1262 ins; 461 del; 1503 mod

8297413: Remove easy warnings in javafx.graphics

Reviewed-by: kcr, nlisker, angorya

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

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


More information about the openjfx-dev mailing list