Update checkstyle to 8.10.1 (#31269)
This commit is contained in:
parent
16d593b22f
commit
1f6e874002
|
@ -140,7 +140,7 @@ class PrecommitTasks {
|
||||||
configProperties = [
|
configProperties = [
|
||||||
suppressions: checkstyleSuppressions
|
suppressions: checkstyleSuppressions
|
||||||
]
|
]
|
||||||
toolVersion = 7.5
|
toolVersion = '8.10.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
project.tasks.withType(Checkstyle) { task ->
|
project.tasks.withType(Checkstyle) { task ->
|
||||||
|
|
|
@ -36,7 +36,7 @@ public enum Transports {
|
||||||
* used in assertions to make sure that we do not call blocking code from
|
* used in assertions to make sure that we do not call blocking code from
|
||||||
* networking threads.
|
* networking threads.
|
||||||
*/
|
*/
|
||||||
public static final boolean isTransportThread(Thread t) {
|
public static boolean isTransportThread(Thread t) {
|
||||||
final String threadName = t.getName();
|
final String threadName = t.getName();
|
||||||
for (String s : Arrays.asList(
|
for (String s : Arrays.asList(
|
||||||
HttpServerTransport.HTTP_SERVER_WORKER_THREAD_NAME_PREFIX,
|
HttpServerTransport.HTTP_SERVER_WORKER_THREAD_NAME_PREFIX,
|
||||||
|
|
Loading…
Reference in New Issue