Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
51f2804a
Commit
51f2804a
authored
Nov 05, 2016
by
Yusuke Iwaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add checkstyle suppression for RealmObject-based classes.
parent
7ee0c0da
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
checkstyle-config.xml
config/quality/checkstyle/checkstyle-config.xml
+5
-6
checkstyle-suppressions.xml
config/quality/checkstyle/checkstyle-suppressions.xml
+8
-0
No files found.
config/quality/checkstyle/checkstyle-config.xml
View file @
51f2804a
...
...
@@ -4,13 +4,12 @@
<property
name=
"severity"
value=
"warning"
/>
<property
name=
"charset"
value=
"UTF-8"
/>
<module
name=
"SuppressionCommentFilter"
>
<property
name=
"offCommentFormat"
value=
"CHECKSTYLE:OFF
IndentationCheck
"
/>
<property
name=
"onCommentFormat"
value=
"CHECKSTYLE:ON
IndentationCheck
"
/>
<property
name=
"checkFormat"
value=
"
IndentationCheck
"
/>
<property
name=
"offCommentFormat"
value=
"CHECKSTYLE:OFF
(\w+)
"
/>
<property
name=
"onCommentFormat"
value=
"CHECKSTYLE:ON
(\w+)
"
/>
<property
name=
"checkFormat"
value=
"
$1
"
/>
</module>
<module
name=
"SuppressionCommentFilter"
>
<property
name=
"offCommentFormat"
value=
"CHECKSTYLE:OFF Generated code"
/>
<property
name=
"onCommentFormat"
value=
"CHECKSTYLE:ON Generated code"
/>
<module
name=
"SuppressionFilter"
>
<property
name=
"file"
value=
"config/quality/checkstyle/checkstyle-suppressions.xml"
/>
</module>
<module
name=
"TreeWalker"
>
<module
name=
"AvoidStarImport"
>
...
...
config/quality/checkstyle/checkstyle-suppressions.xml
0 → 100644
View file @
51f2804a
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment