diff --git a/launcher/src/main/java/org/apache/spark/launcher/SparkAppHandle.java b/launcher/src/main/java/org/apache/spark/launcher/SparkAppHandle.java
index afec270e2b11c..9fd693245aad2 100644
--- a/launcher/src/main/java/org/apache/spark/launcher/SparkAppHandle.java
+++ b/launcher/src/main/java/org/apache/spark/launcher/SparkAppHandle.java
@@ -114,7 +114,7 @@ public boolean isFinal() {
*
* @since 1.6.0
*/
- public interface Listener {
+ interface Listener {
/**
* Callback for changes in the handle's state.
diff --git a/pom.xml b/pom.xml
index 404f37be1b5ae..146ded53dd8da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3502,7 +3502,7 @@
-->
com.puppycrawl.tools
checkstyle
- 9.3
+ 10.14.0
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 628e1e6d89386..49e1afaa68549 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -20,7 +20,7 @@ addSbtPlugin("software.purpledragon" % "sbt-checkstyle-plugin" % "4.0.1")
// sbt-checkstyle-plugin uses an old version of checkstyle. Match it to Maven's.
// If you are changing the dependency setting for checkstyle plugin,
// please check pom.xml in the root of the source tree too.
-libraryDependencies += "com.puppycrawl.tools" % "checkstyle" % "9.3"
+libraryDependencies += "com.puppycrawl.tools" % "checkstyle" % "10.14.0"
// checkstyle uses guava 31.0.1-jre.
libraryDependencies += "com.google.guava" % "guava" % "31.0.1-jre"