checkstyle: bump to 7.0

Remove LITERAL_DO from the config in RightCurly as we want this:

        do {
            foo;
        } while (bar);

Not this:

        do {
            foo;
        }
        while (bar);

This went unnoticed as LITERAL_DO was broken in RightCurly in earlier
Checkstyle versions.
Este commit está contenido en:
Daniel Martí 2016-07-04 11:25:04 +01:00
padre 3fae57c360
commit 8af44b1af5
Se han modificado 3 ficheros con 3 adiciones y 3 borrados

Ver fichero

@ -36,7 +36,7 @@ android {
}
checkstyle {
toolVersion = '6.19'
toolVersion = '7.0'
}
task checkstyle(type: Checkstyle) {

Ver fichero

@ -209,7 +209,7 @@ android {
}
checkstyle {
toolVersion = '6.19'
toolVersion = '7.0'
}
task checkstyle(type: Checkstyle) {

Ver fichero

@ -96,7 +96,7 @@
<module name="RightCurly"/>
<module name="RightCurly">
<property name="option" value="alone"/>
<property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO, STATIC_INIT, INSTANCE_INIT"/>
<property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, STATIC_INIT, INSTANCE_INIT"/>
</module>
<module name="EmptyStatement" />