google / google/google-java-format

P html tag with no content after is not removed

オープン
#1,150 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.2k
フォーク
937
平均マージ
6分
マージ済み PR(30日)
3

説明

It will be awesome to remove such empty `

` tags. At least there is defenetely no text after it.

https://google.github.io/styleguide/javaguide.html#s7.1.2-javadoc-paragraphs

> Each paragraph except the first has `

` immediately before the first word, with no space after it.


```
$ cat Test.java
public class Test {
/**
* The client's first name.
*
*


*/
public String thirdName;
}

$ java -jar google-java-format-1.23.0-all-deps.jar Test.java > TestUpdated.java

$ diff -u Test.java TestUpdated.java
$
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。