Commit 51f2804a authored by Yusuke Iwaki's avatar Yusuke Iwaki

add checkstyle suppression for RealmObject-based classes.

parent 7ee0c0da
...@@ -4,13 +4,12 @@ ...@@ -4,13 +4,12 @@
<property name="severity" value="warning"/> <property name="severity" value="warning"/>
<property name="charset" value="UTF-8"/> <property name="charset" value="UTF-8"/>
<module name="SuppressionCommentFilter"> <module name="SuppressionCommentFilter">
<property name="offCommentFormat" value="CHECKSTYLE:OFF IndentationCheck"/> <property name="offCommentFormat" value="CHECKSTYLE:OFF (\w+)"/>
<property name="onCommentFormat" value="CHECKSTYLE:ON IndentationCheck"/> <property name="onCommentFormat" value="CHECKSTYLE:ON (\w+)"/>
<property name="checkFormat" value="IndentationCheck"/> <property name="checkFormat" value="$1"/>
</module> </module>
<module name="SuppressionCommentFilter"> <module name="SuppressionFilter">
<property name="offCommentFormat" value="CHECKSTYLE:OFF Generated code"/> <property name="file" value="config/quality/checkstyle/checkstyle-suppressions.xml"/>
<property name="onCommentFormat" value="CHECKSTYLE:ON Generated code"/>
</module> </module>
<module name="TreeWalker"> <module name="TreeWalker">
<module name="AvoidStarImport"> <module name="AvoidStarImport">
......
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<!-- suppress some checks for classes extending RealmObject -->
<suppress checks="MemberName|JavadocMethod" files="chat[\\/]rocket[\\/]android[\\/]model"/>
</suppressions>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment