Comments (3)
Life is changing defacto :), few years ago people told same about checkstyle config.
But lets look at style guide
https://google.github.io/styleguide/javaguide.html#s3-source-file-structure
Source file structure
A source file consists of, in order:
License or copyright information, if present
Package statement
Import statements
Exactly one top-level class
Exactly one blank line separates each section that is present.
Pay attention to last sentence. How you can explain it ? May be we should open issue on google-java-format ?
from checkstyle.
google/google-java-format#1084
from checkstyle.
I think we are done here, we can reopen issue if new nuances comes up
from checkstyle.
Related Issues (20)
- False positives when first sentence of Javadoc is on a separate line
- ClassLength
- InnerTypeNumber
- Static MethodCount HOT 1
- False negative in UnusedImportCheck
- CLI feature: support stdin HOT 7
- Enforce new naming convention "InputXpath{Checkname}Xxxx.java" in IT area HOT 8
- Indentation: Unexpected violation when class declaration is wrapped after public and before static HOT 15
- [JavadocType] add additional allowedTags feature HOT 1
- new Check: ConstructorsDeclarationGrouping to check the grouping of overloaded constructors HOT 5
- New Check: AnnotatedMethodNameCheck to check method names of annotated (test) methods HOT 9
- ParenPad incorretly flags unsupported token HOT 4
- Ending period detected in first sentence of Javadoc when it is not at the end of the sentence HOT 1
- First sentence of Javadoc is not checked past default period character when using custom period HOT 1
- New Check: Unnecessary Block Braces HOT 14
- Enhance Command Line documentation by organizing options in Tabular format HOT 9
- EmptyLineSeparator does not detect multiple blank lines HOT 6
- OverloadMethodDeclarationOrder check ignores anything besides methods HOT 2
- IT regression area Folder structure HOT 2
- How to exclude java-Files that contain @Generated-Annotation? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkstyle.