Skip to content

Commit 9871f3a

Browse files
author
Pavel Rappo
committedAug 18, 2020
8251939: Fix copy-paste issues and address TODOs
Reviewed-by: jjg
1 parent 74cb1b4 commit 9871f3a

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed
 

‎src/jdk.compiler/share/classes/com/sun/source/tree/YieldTree.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -33,7 +33,7 @@
3333
* yield <em>expression</em> ;
3434
* </pre>
3535
*
36-
* @jls section TODO
36+
* @jls 14.21 The yield Statement
3737
*
3838
* @since 13
3939
*/

‎src/jdk.compiler/share/classes/com/sun/source/util/DocTreeScanner.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public R visitIdentifier(IdentifierTree node, P p) {
275275
}
276276

277277
/**
278-
* {@inheritDoc} This implementation returns {@code null}.
278+
* {@inheritDoc} This implementation scans the children in left to right order.
279279
*
280280
* @param node {@inheritDoc}
281281
* @param p {@inheritDoc}

‎src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ public R visitErroneous(ErroneousTree node, P p) {
950950
}
951951

952952
/**
953-
* {@inheritDoc} This implementation returns {@code null}.
953+
* {@inheritDoc} This implementation scans the children in left to right order.
954954
*
955955
* @param node {@inheritDoc}
956956
* @param p {@inheritDoc}

‎src/jdk.compiler/share/classes/com/sun/tools/javac/parser/DocCommentParser.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import com.sun.source.doctree.AttributeTree.ValueKind;
3232
import com.sun.source.doctree.ErroneousTree;
3333
import com.sun.source.doctree.UnknownBlockTagTree;
34+
import com.sun.source.doctree.UnknownInlineTagTree;
3435
import com.sun.tools.javac.parser.Tokens.Comment;
3536
import com.sun.tools.javac.tree.DCTree;
3637
import com.sun.tools.javac.tree.DCTree.DCAttribute;
@@ -303,7 +304,7 @@ protected void inlineTag(ListBuffer<DCTree> list) {
303304
/**
304305
* Read a single inline tag, including its content.
305306
* Standard tags parse their content appropriately.
306-
* Non-standard tags are represented by {@link UnknownBlockTagTree}.
307+
* Non-standard tags are represented by {@link UnknownInlineTagTree}.
307308
* Malformed tags may be returned as {@link ErroneousTree}.
308309
*/
309310
protected DCTree inlineTag() {

0 commit comments

Comments
 (0)
Please sign in to comment.