Skip to content

Files

Latest commit

 

History

History
24 lines (15 loc) · 609 Bytes

SpaceAfterMethodDeclarationName.md

File metadata and controls

24 lines (15 loc) · 609 Bytes

Pattern: Use of space after method declaration name

Issue: -

Description

Checks whether method declarations do not contain unnecessary whitespace between method name and the opening parenthesis for parameter list.

Examples

class ClassWithWhitespaceInConstructorDeclaration {
	
	ClassWithWhitespaceInConstructorDeclaration () { //violation
	}
	
	void methodWithWhitespaceInDeclaration () { //violation
	}
}

Further Reading