Skip to content

Commit

Permalink
Fix CommentStyle.JAVADOC missed by merging script
Browse files Browse the repository at this point in the history
Replaced dc = token.comment(CommentStyle.JAVADOC) with dc = token.docComment().

Signed-off-by: Jason Feng <[email protected]>
  • Loading branch information
JasonFengJ9 committed Oct 11, 2023
1 parent 5037ab5 commit 8ff2aff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2969,7 +2969,7 @@ List<JCStatement> blockStatement() {
}
}
if ((isPrimitiveModifier() && allowPrimitiveClasses) || (isValueModifier() || isIdentityModifier()) && allowValueClasses) {
dc = token.comment(CommentStyle.JAVADOC);
dc = token.docComment();
return List.of(classOrRecordOrInterfaceOrEnumDeclaration(modifiersOpt(), dc));
}
if (isRecordStart() && allowRecords) {
Expand Down

0 comments on commit 8ff2aff

Please sign in to comment.