Skip to content

Files

Latest commit

 

History

History
29 lines (18 loc) · 528 Bytes

SpacingBetweenPackageAndImports.md

File metadata and controls

29 lines (18 loc) · 528 Bytes

Pattern: Malformed space between package/import/class

Issue: -

Description

Verifies spacing between package and import statements as well as between import statements and class declarations.

Example of incorrect code:

package foo
import a.b
class Bar { }

Example of correct code:

package foo

import a.b

class Bar { }

Further Reading