Skip to content

Commit

Permalink
8262421: doclint warnings in jdk.compiler module
Browse files Browse the repository at this point in the history
Reviewed-by: iris, darcy
  • Loading branch information
jonathan-gibbons committed Feb 25, 2021
1 parent 29c603f commit 8256517
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,17 @@ DocCommentTree newDocCommentTree(List<? extends DocTree> fullBody,
* Creates a new {@code ReturnTree} object, to represent a {@code @return} tag
* or {@code {@return}} tag.
*
* @implSpec This implementation throws {@code UnsupportedOperationException} if
* {@code isInline} is {@code true}, and calls {@link #newReturnTree(List)} otherwise.
*
* @param isInline {@code true} if this instance is as an inline tag,
* and {@code false} otherwise
* @param description the description of the return value of a method
*
* @return a {@code ReturnTree} object
* @throws UnsupportedOperationException if inline {@code {@return}} tags are
* not supported
* not supported
*
* @implSpec This implementation throws {@code UnsupportedOperationException} if
* {@code isInline} is {@code true}, and calls {@link #newReturnTree(List)} otherwise.
*
* @since 16
*/
default ReturnTree newReturnTree(boolean isInline, List<? extends DocTree> description) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ public abstract void printMessage(Diagnostic.Kind kind, CharSequence msg,
* <a href="https://www.w3.org/TR/html52/syntax.html#character-references">8.1.4. Character references</a>
* in the HTML 5.2 specification.</p>
*
* @param tree the tree containing the entity
* @return a string containing the characters
*/
public abstract String getCharacters(EntityTree tree);
Expand Down

1 comment on commit 8256517

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.