RFR: 8371070: RichParagraph enhancements [v8]
Kevin Rushforth
kcr at openjdk.org
Mon Dec 22 22:43:25 UTC 2025
On Mon, 22 Dec 2025 22:19:40 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> But it doesn't call the build method. The caller does (see the getParagraph method above this one). So the method seems misnamed to me.
>
> It does call RParagraph.buildParagraph() L96.
>
> I't an extra step to return the builder instead of the immutable paragraph as before.
Yes, but unless I'm missing something, RParagraph.buildParagraph is now similarly misnamed. It returns the builder to the caller who now has the responsibility of calling `build`.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1966#discussion_r2641441594
More information about the openjfx-dev
mailing list