CssMetaData.combine()

John Hendrikx john.hendrikx at gmail.com
Sat Dec 2 06:08:52 UTC 2023


On 02/12/2023 05:35, Nir Lisker wrote:
>
>     Lazy initialization in many places that IMHO is not needed
>
>
> I noticed this for the first time in classes like Box, Sphere and 
> Cylinder. Their dimension properties are lazily initialized, but are 
> also initialized on construction, so I never understood what the point 
> was.

Yeah, those are good examples where the lazy initialization is counter 
productive :)

We should be on the look out for such things and remove it where it's 
not beneficial.

--John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231202/95df29bc/attachment.htm>


More information about the openjfx-dev mailing list