google / google/google-java-format

P html tag with no content after is not removed

Aperta
#1,150 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
6.2k
Fork
937
Merge medio
6m
PR unite (30g)
3

Descrizione

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
$
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.