include try/catch in left-curly rule
This commit is contained in:
parent
16123e0dee
commit
9426b5da78
1 changed files with 3 additions and 3 deletions
|
|
@ -56,7 +56,7 @@
|
|||
<module name="LeftCurly">
|
||||
<property name="option" value="eol"/>
|
||||
<property name="tokens"
|
||||
value="METHOD_DEF, CTOR_DEF, CLASS_DEF, LITERAL_IF, LITERAL_ELSE, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO"/>
|
||||
value="METHOD_DEF, CTOR_DEF, CLASS_DEF, LITERAL_IF, LITERAL_ELSE, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO, LITERAL_TRY, LITERAL_CATCH"/>
|
||||
</module>
|
||||
|
||||
<!-- 8. Magic numbers: disallow literal numbers (except allowed ones) -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue