diff options
author | Pablo Guardiola <guardiola31337@gmail.com> | 2017-03-01 10:45:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-01 10:45:22 -0500 |
commit | c689eed2737cf07f38c2e6f63560a92a58875f19 (patch) | |
tree | 8a029b46730b896365dec2aafe60715d5437e3e6 /platform/android/checkstyle.xml | |
parent | f44e4eb2de31192855bcd5c67c2f25d0860b5352 (diff) | |
download | qtlocation-mapboxgl-c689eed2737cf07f38c2e6f63560a92a58875f19.tar.gz |
[android] add line starts with a semicolon and empty statement checkstyle rules and fix related checkstyle issues (#8231)
Diffstat (limited to 'platform/android/checkstyle.xml')
-rw-r--r-- | platform/android/checkstyle.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/android/checkstyle.xml b/platform/android/checkstyle.xml index f61e1f18e7..c73ada1565 100644 --- a/platform/android/checkstyle.xml +++ b/platform/android/checkstyle.xml @@ -31,6 +31,11 @@ <property name="message" value="Line has trailing spaces."/> </module> + <module name="RegexpMultiline"> + <property name="format" value="^;"/> + <property name="message" value="Line starts with an empty statement."/> + </module> + <module name="TreeWalker"> <module name="OuterTypeFilename"/> <module name="IllegalTokenText"> @@ -216,5 +221,6 @@ <property name="exceptionVariableName" value="expected"/> </module> <module name="CommentsIndentation"/> + <module name="EmptyStatement"/> </module> </module> |