Skip to content

Files

Latest commit

 

History

History
30 lines (17 loc) · 652 Bytes

TypecastParenPad.md

File metadata and controls

30 lines (17 loc) · 652 Bytes

Pattern: Wrong padding of parentheses for typecast

Issue: -

Description

Checks the policy on the padding of parentheses for typecasts. That is, whether a space is required after a left parenthesis and before a right parenthesis, or such spaces are forbidden.

Examples

To configure the check:

<module name="TypecastParenPad"/>

To configure the check to require spaces:

<module name="TypecastParenPad">
    <property name="option" value="space"/>
</module>

Further Reading