google / google/google-java-format

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

Đang mở
#243 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
non-whitespace
Ngôn ngữ chính
Java
Star
6.2k
Fork
937
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
3

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.