google / google/google-java-format
Inconsistent treatment of **/ at end of Javadoc
Open
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 937
- Avg merge
- 6m
- Merged PRs (30d)
- 3
Description
After formatting, this:
```
public class DoubleTrailingAsterisk {
/**
* Here is a multi-line comment that ends with a double asterisk.
**/
public void m1() {}
/** Here is a single-line comment that ends with a double asterisk. **/
public void m2() {}
}
```
becomes this:
```
public class DoubleTrailingAsterisk {
/** Here is a multi-line comment that ends with a double asterisk. */
public void m1() {}
/** Here is a single-line comment that ends with a double asterisk. * */
public void m2() {}
}
```
where the second Javadoc comment contains an extra "*".
Contributor guide
Assessment
This issue has not been assessed yet.