diff --git a/core/src/test/scala/org/apache/spark/util/PropertiesCloneBenchmark.scala b/core/src/test/scala/org/apache/spark/util/PropertiesCloneBenchmark.scala index 0726886c70fe..baacc7527a80 100644 --- a/core/src/test/scala/org/apache/spark/util/PropertiesCloneBenchmark.scala +++ b/core/src/test/scala/org/apache/spark/util/PropertiesCloneBenchmark.scala @@ -20,7 +20,7 @@ import java.util.Properties import scala.util.Random -import org.apache.commons.lang.SerializationUtils +import org.apache.commons.lang3.SerializationUtils import org.apache.spark.benchmark.{Benchmark, BenchmarkBase} diff --git a/scalastyle-config.xml b/scalastyle-config.xml index 4892819ae997..73ac14fdba1c 100644 --- a/scalastyle-config.xml +++ b/scalastyle-config.xml @@ -258,7 +258,7 @@ This file is divided into 3 sections: scala.collection.JavaConverters._ and use .asScala / .asJava methods - + org\.apache\.commons\.lang\. Use Commons Lang 3 classes (package org.apache.commons.lang3.*) instead of Commons Lang 2 (package org.apache.commons.lang.*)