From f148a5157fd7bc522a5907c28a85fae7b6805d5e Mon Sep 17 00:00:00 2001 From: yangjie01 Date: Thu, 26 Dec 2024 20:03:33 +0800 Subject: [PATCH] init --- dev/checkstyle.xml | 22 ---------------------- scalastyle-config.xml | 27 --------------------------- 2 files changed, 49 deletions(-) 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.