google / google/google-java-format
P html tag with no content after is not removed
- Linguagem predominante
- Java
- Estrelas
- 6.2k
- Forks
- 937
- Merge médio
- 6min
- PRs com merge (30d)
- 3
Descrição
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
$
```
Guia de contribuição
Direção de pesquisa
Start by reproducing the issue with the Test.java example and the google-java-format command shown in the report. Trace the Javadoc paragraph formatting behavior for a trailing empty
tag, then add coverage and confirm that the empty tag is removed without changing other paragraph formatting.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java
- Domínio
- tooling
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100