Repository navigation
Commit 43f834d
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.*/ in Javadoc comments.1 parent a9a4744 commit 43f834d
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 | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
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