Changeset 8513 in josm for trunk/tools


Ignore:
Timestamp:
2015-06-21T02:25:56+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: blocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/checkstyle/josm_checks.xml

    r8512 r8513  
    7575    <module name="ModifierOrder"/>
    7676    <module name="RedundantModifier"/>
     77    <module name="AvoidNestedBlocks">
     78      <property name="allowInSwitchCase" value="true"/>
     79    </module>
     80    <module name="EmptyBlock">
     81      <property name="tokens" value="LITERAL_TRY,LITERAL_CATCH,LITERAL_FINALLY,LITERAL_DO,LITERAL_ELSE,LITERAL_FOR,INSTANCE_INIT,STATIC_INIT,LITERAL_SWITCH"/>
     82    </module>
     83    <module name="EmptyCatchBlock"/>
     84    <module name="LeftCurly">
     85      <property name="maxLineLength" value="140"/>
     86    </module>
     87    <module name="RightCurly"/>
     88    <module name="NeedBraces">
     89      <property name="tokens" value="LITERAL_DO,LITERAL_FOR,LITERAL_WHILE"/>
     90      <property name="allowSingleLineStatement" value="true"/>
     91    </module>
    7792  </module>
    7893  <module name="Header">
Note: See TracChangeset for help on using the changeset viewer.