diff --git a/dev/checkstyle.xml b/dev/checkstyle.xml
index 4285028109419..6c50718e27fe5 100644
--- a/dev/checkstyle.xml
+++ b/dev/checkstyle.xml
@@ -172,32 +172,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/scalastyle-config.xml b/scalastyle-config.xml
index 05b3f6a268985..7e64dc9be6731 100644
--- a/scalastyle-config.xml
+++ b/scalastyle-config.xml
@@ -460,33 +460,6 @@ This file is divided into 3 sections:
-1,0,1,2,3
-
- Objects.toStringHelper
- Avoid using Object.toStringHelper. Use ToStringBuilder instead.
-
-
-
- Files\.createTempDir\(
- Avoid using com.google.common.io.Files.createTempDir due to CVE-2020-8908.
- Use org.apache.spark.util.Utils.createTempDir instead.
-
-
-
-
- FileBackedOutputStream
- Avoid using FileBackedOutputStream due to CVE-2023-2976.
-
-
-
- AtomicDoubleArray
- Avoid using AtomicDoubleArray due to CVE-2018-10237.
-
-
-
- CompoundOrdering
- Avoid using CompoundOrdering due to CVE-2018-10237.
-
-
byteCountToDisplaySize
Use Utils.bytesToString instead of byteCountToDisplaySize for consistency.