Skip to content

Commit d1c2aef

Browse files
sormurasgoogle-java-format Team
authored andcommitted
Fix javadoc syntax
Fix javadoc syntax by wrap `<` into an inline code block. ``` [WARNING] ...\google-java-format\core\src\main\java\com\google\googlejavaformat\java\JavaInputAstVisitor.java:2577: warning - invalid usage of tag < ``` Fixes #454 COPYBARA_INTEGRATE_REVIEW=#454 from sormuras:patch-1 f5583c7 PiperOrigin-RevId: 309364827
1 parent b53d614 commit d1c2aef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/google/googlejavaformat/java/JavaInputAstVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2585,7 +2585,7 @@ private void visitToDeclare(
25852585
typeWithDims);
25862586
}
25872587

2588-
/** Does not omit the leading '<', which should be associated with the type name. */
2588+
/** Does not omit the leading {@code "<"}, which should be associated with the type name. */
25892589
protected void typeParametersRest(
25902590
List<? extends TypeParameterTree> typeParameters, Indent plusIndent) {
25912591
builder.open(plusIndent);

0 commit comments

Comments
 (0)