Integrated: 8341372: BackgroundPosition, BorderImage, BorderStroke, CornerRadii should be final
Michael Strauß
mstrauss at openjdk.org
Thu Oct 17 18:15:45 UTC 2024
On Tue, 1 Oct 2024 21:46:21 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
> Backgrounds and borders are comprised of immutable and final types. The following types are marked with the `final` modifier:
>
> * Background
> * BackgroundFill
> * BackgroundImage
> * BackgroundSize
> * Border
> * BorderWidths
>
> The following types are not marked with the `final` modifier:
>
> * BackgroundPosition
> * BorderImage
> * BorderStroke
> * CornerRadii
>
> This is probably just an oversight, as there is no value in allowing a subsection of these types to be extended.
This pull request has now been integrated.
Changeset: 77482deb
Author: Michael Strauß <mstrauss at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/77482debff0b6e550b451516b4d4d1466895fed8
Stats: 88 lines in 11 files changed: 0 ins; 1 del; 87 mod
8341372: BackgroundPosition, BorderImage, BorderStroke, CornerRadii should be final
Reviewed-by: angorya, jhendrikx, kcr
-------------
PR: https://git.openjdk.org/jfx/pull/1587
More information about the openjfx-dev
mailing list