Skip to content

Commit

Permalink
Add checkstyle rule to blacklist checkNotNull
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Sep 14, 2015
1 parent f07b958 commit 53f507b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/checkstyle/checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<property name="format" value="\n\n\Z"/>
<property name="message" value="Blank line before end of file"/>
</module>
<module name="RegexpMultiline">
<property name="format" value="Preconditions\.checkNotNull"/>
<property name="message" value="Use of checkNotNull"/>
</module>

<module name="TreeWalker">
<module name="EmptyBlock">
Expand Down

0 comments on commit 53f507b

Please sign in to comment.