google / google/google-java-format

Either require semicolons at the end of enum declarations, or don't

Aberta
#243 3 comentários 0 reações 0 responsáveis Ver no GitHub
non-whitespace
Linguagem predominante
Java
Estrelas
6.2k
Forks
937
Merge médio
6min
PRs com merge (30d)
3

Descrição

Currently, gjf accepts either:

```java
enum Foo {
BAR,
BAZ;
}
```

or:

```java
enum Foo {
BAR,
BAZ
}
```

I had a code reviewer tell me to remove the semicolon. I really do not care one way or another, but I would rather not have to discuss it during code reviews. This is exactly what gjf is for, so it'd be nice to take a stand one way or the other.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.