google / google/google-java-format

Missing empty line after copyright section

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

説明

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)

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

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

評価

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

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

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