google / google/google-java-format

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

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

Descrizione

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.

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.