google / google/google-java-format

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

オープン
#243 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
non-whitespace
主要言語
Java
スター
6.2k
フォーク
937
平均マージ
6分
マージ済み PR(30日)
3

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。