Skip to content

Commit

Permalink
Fix javadoc syntax
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sormuras authored and google-java-format Team committed May 1, 2020
1 parent b53d614 commit d1c2aef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2585,7 +2585,7 @@ private void visitToDeclare(
typeWithDims);
}

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

0 comments on commit d1c2aef

Please sign in to comment.