Repository navigation
Commit 444ffbc
Strip trailing asterisks before
Decorative closing delimiters such as `/** ... **/` previously had the trailing
asterisk retained as comment body content, resulting in `/** ... * */`.
Ported from google/google-java-format#1474 (commit 2957b192). In this fork
stripJavadocBeginAndEnd lives in JavadocLexer; the tests were written first
and failed with `* */` before the change.
Co-authored-by: Liam Miller-Cushon <cushon@google.com>*/ in Javadoc comments. (#115)1 parent 4a5594e commit 444ffbc
2 files changed
Lines changed: 34 additions & 1 deletion
File tree
- open-java-format/src
- main/java/com/palantir/javaformat/java/javadoc
- test/java/com/palantir/javaformat/java
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
| |||
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
573 | 602 | | |
574 | 603 | | |
575 | 604 | | |
| |||
0 commit comments