[android] add line starts with a semicolon and empty statement checkstyle rules and fix related checkstyle issues (#8231)

This commit is contained in:
Pablo Guardiola
2017-03-01 10:45:22 -05:00
committed by GitHub
parent f44e4eb2de
commit c689eed273
2 changed files with 6 additions and 1 deletions

View File

@@ -35,7 +35,6 @@ import java.util.concurrent.CopyOnWriteArrayList;
import timber.log.Timber;
;
// Class that wraps the native methods for convenience
final class NativeMapView {

View File

@@ -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>