Skip to content

Files

Latest commit

 

History

History
18 lines (11 loc) · 562 Bytes

OuterTypeFilename.md

File metadata and controls

18 lines (11 loc) · 562 Bytes

Pattern: File name and outer type name do not match

Issue: -

Description

Outer type name and the file name should match to avoid any confusion or misunderstanding. For example, the class Foo must be in a file named Foo.java.

Default configuration:

<module name="OuterTypeFilename"/>

Further Reading