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:
padre
3fae57c360
commit
8af44b1af5
@ -36,7 +36,7 @@ android {
|
||||
}
|
||||
|
||||
checkstyle {
|
||||
toolVersion = '6.19'
|
||||
toolVersion = '7.0'
|
||||
}
|
||||
|
||||
task checkstyle(type: Checkstyle) {
|
||||
|
||||
@ -209,7 +209,7 @@ android {
|
||||
}
|
||||
|
||||
checkstyle {
|
||||
toolVersion = '6.19'
|
||||
toolVersion = '7.0'
|
||||
}
|
||||
|
||||
task checkstyle(type: Checkstyle) {
|
||||
|
||||
@ -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" />
|
||||
|
||||
Cargando…
x
Referencia en una nueva incidencia
Block a user