google / google/google-java-format

Missing empty line after copyright section

Aperta
#434 1 commento 9 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
6.2k
Fork
937
Merge medio
6m
PR unite (30g)
3

Descrizione

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)

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.