RFR: 8341372: BackgroundPosition, BorderImage, BorderStroke, CornerRadii should be final [v2]
Michael Strauß
mstrauss at openjdk.org
Wed Oct 2 17:53:15 UTC 2024
> 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.
Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
make fields private
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/1587/files
- new: https://git.openjdk.org/jfx/pull/1587/files/13025a0c..659d7c93
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=1587&range=01
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=1587&range=00-01
Stats: 76 lines in 11 files changed: 0 ins; 1 del; 75 mod
Patch: https://git.openjdk.org/jfx/pull/1587.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1587/head:pull/1587
PR: https://git.openjdk.org/jfx/pull/1587
More information about the openjfx-dev
mailing list