google / google/google-java-format

P html tag with no content after is not removed

Ouverte
#1,150 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
6.2k
Forks
937
Merge moyen
6 min
PR mergées (30 j)
3

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.