Skip to content

Commit 9df86dc

Browse files
committed
Update checkstyle to 8.10.1 (#31269)
1 parent 01ec669 commit 9df86dc

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
@@ -37,7 +37,7 @@ public enum Transports {
3737
* used in assertions to make sure that we do not call blocking code from
3838
* networking threads.
3939
*/
40-
public static final boolean isTransportThread(Thread t) {
40+
public static boolean isTransportThread(Thread t) {
4141
final String threadName = t.getName();
4242
for (String s : Arrays.asList(
4343
HttpServerTransport.HTTP_SERVER_WORKER_THREAD_NAME_PREFIX,

0 commit comments

Comments
 (0)