On Thu, 5 Nov 2026 15:46:21 GMT, Hannes Wallnöfer <[email protected]> wrote:

> Please review a simple change to not extend `Content` in various 
> domain-specific javadoc content-generating classes and instead return the 
> `Content` object from a public `toContent()` method. All classes affected by 
> this did not implement the full `Content` API (for instance, none provided a 
> useful implementation of `stripTags()`). Also, all affected classes already 
> used a private `toContent()` method to produce the actual content.
> 
> This is the first step of an ongoing effort to improve javadoc content 
> classes.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Simple and straightforward.

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

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/33754#pullrequestreview-5789875173

Reply via email to