JDK-8297413 : Remove easy warnings in javafx.graphics
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: jfx20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-11-22
  • Updated: 2024-05-31
  • Resolved: 2022-12-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx20 b11Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Description
- 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

Comments
Changeset: f333662a Author: John Hendrikx <jhendrikx@openjdk.org> Committer: Nir Lisker <nlisker@openjdk.org> Date: 2022-12-06 14:24:18 +0000 URL: https://git.openjdk.org/jfx/commit/f333662abe61a19a4d8a7b10ee4c409a22f2d63e
06-12-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/960 Date: 2022-11-22 18:39:43 +0000
22-11-2022