Skip to content

Commit c9251db

Browse files
committed
8271209: Fix doc comment typos in JavadocTokenizer
Reviewed-by: jlaskey
1 parent 96247ae commit c9251db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
/**
3737
* An extension to the base lexical analyzer (JavaTokenizer) that
3838
* captures and processes the contents of doc comments. It does
39-
* so by stripping the leading whitespace and comment starts from
39+
* so by stripping the leading whitespace and comment stars from
4040
* each line of the Javadoc comment.
4141
*
4242
* <p><b>This is NOT part of any supported API.
@@ -89,7 +89,7 @@ protected Comment processComment(int pos, int endPos, CommentStyle style) {
8989
*/
9090
protected static class JavadocComment extends BasicComment {
9191
/**
92-
* Pattern used to detect a well formed @deprecated tag in a JaavDoc
92+
* Pattern used to detect a well formed @deprecated tag in a Javadoc
9393
* comment.
9494
*/
9595
private static final Pattern DEPRECATED_PATTERN =

0 commit comments

Comments
 (0)