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). This pull request has now been integrated. Changeset: 1ada1810 Author: Hannes Wallnöfer <[email protected]> URL: https://git.openjdk.org/jdk/commit/1ada181003c78e4b0e7eb8f6eecf4d66725cc74f Stats: 111 lines in 26 files changed: 10 ins; 51 del; 50 mod 8396181: Clean up Content class hierarchy Reviewed-by: liach ------------- PR: https://git.openjdk.org/jdk/pull/33754
