Skip to content

Commit 1f6e874

Browse files
authored
Update checkstyle to 8.10.1 (#31269)
1 parent 16d593b commit 1f6e874

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/PrecommitTasks.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class PrecommitTasks {
140140
configProperties = [
141141
suppressions: checkstyleSuppressions
142142
]
143-
toolVersion = 7.5
143+
toolVersion = '8.10.1'
144144
}
145145

146146
project.tasks.withType(Checkstyle) { task ->

server/src/main/java/org/elasticsearch/transport/Transports.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public enum Transports {
3636
* used in assertions to make sure that we do not call blocking code from
3737
* networking threads.
3838
*/
39-
public static final boolean isTransportThread(Thread t) {
39+
public static boolean isTransportThread(Thread t) {
4040
final String threadName = t.getName();
4141
for (String s : Arrays.asList(
4242
HttpServerTransport.HTTP_SERVER_WORKER_THREAD_NAME_PREFIX,

0 commit comments

Comments
 (0)