On Mon, 22 Dec 2025 22:12:06 GMT, Kevin Rushforth <[email protected]> wrote:

>> This method indeed builds the paragraph, but instead of returning the 
>> paragraph itself, it returns the builder with the data - so a custom model 
>> can override it to apply post-processing, since the RichParagraph itself is 
>> immutable.
>
> 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.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1966#discussion_r2641412081

Reply via email to