Integrated: JDK-8277028: Use service type documentation as fallback for @provides

Hannes Wallnöfer hannesw at openjdk.java.net
Mon Nov 15 15:57:40 UTC 2021


On Mon, 15 Nov 2021 11:25:09 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> This is a simple change to display the first sentence of the service type description in the "Provides" section of a module page if the `@provides` javadoc tag does not contain a description. This is the same we handle entries in the "Uses" section when no description is available from the `@uses` tag. The rationale is that it is still more useful to provide generic information about the service type than nothing if no provider-specific information is available.

This pull request has now been integrated.

Changeset: 7fc344dc
Author:    Hannes Wallnöfer <hannesw at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7fc344dc96008f277dacf5518b28447f3a598cde
Stats:     36 lines in 2 files changed: 29 ins; 0 del; 7 mod

8277028: Use service type documentation as fallback for @provides

Reviewed-by: prappo

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

PR: https://git.openjdk.java.net/jdk/pull/6387


More information about the javadoc-dev mailing list