Skip to content

Commit

Permalink
minor: add new check ChainedMethodCallWrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyom-Yadav committed Mar 4, 2023
1 parent 7be213a commit 193f2bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion checkstyle-tester/checks-nonjavadoc-error.xml
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@
<property name="tokens" value="INDEX_OP"/>
<property name="tokens" value="METHOD_REF"/>
</module>
<module name="NoWhitespaceBeforeCaseDefaultColon"/>
<module name="NoWhitespaceBeforeCaseDefaultColon"/>
<module name="NoWhitespaceBefore"/>
<module name="NoWhitespaceBefore">
<property name="tokens" value="DOT"/>
Expand Down Expand Up @@ -638,6 +638,10 @@
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround"/>
<module name="UnusedLocalVariable"/>
<module name="ChainedMethodCallWrap">
<property name="identifierPattern" value="^assert.*"/>
<property name="maxCallsInSingleLine" value="2" />
</module>

</module>

Expand Down

0 comments on commit 193f2bb

Please sign in to comment.