RFR: 8345261: Refactor the Dimension2D classes
Kevin Rushforth
kcr at openjdk.org
Sat Nov 30 13:53:44 UTC 2024
On Fri, 29 Nov 2024 17:00:42 GMT, Nir Lisker <nlisker at openjdk.org> wrote:
> A small refactoring of the Dimension classes.
>
> * `com.sun.javafx.geom.Dimension` was removed and its uses were replaced by `com.sun.javafx.geom.Dimension2D`.
> * `com.sun.javafx.geom.Dimension2D` became a record.
> * `javafx.geometry.Dimension2D`: fields became `final`.
>
> I'm not sure we need the implementation class at all considering we are free to use the public one.
@azvegint Can you take a quick look at this since you added the Dimension class as part of your initial Wayland Robot fix?
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1653#issuecomment-2508969153
More information about the openjfx-dev
mailing list