google / google/google-java-format

Missing empty line after copyright section

Đang mở
#434 1 bình luận 9 reaction 0 người được giao Xem trên GitHub
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ả

https://google.github.io/styleguide/javaguide.html#s3-source-file-structure says

> A source file consists of, in order:
>
> 1. License or copyright information, if present
> 2. Package statement
> 3. Import statements
> 4. Exactly one top-level class
>
> Exactly one blank line separates each section that is present.

But google-java-format does not add the blank line between a License section and a package statement.

![image](https://user-images.githubusercontent.com/28604/72165837-2e1d3b00-3396-11ea-9acf-c8266b86a27c.png)

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.