[ https://issues.apache.org/jira/browse/SPARK-34722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun reassigned SPARK-34722: ------------------------------------- Assignee: Yang Jie > Clean up deprecated API usage related to JUnit > ---------------------------------------------- > > Key: SPARK-34722 > URL: https://issues.apache.org/jira/browse/SPARK-34722 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 3.2.0 > Reporter: Yang Jie > Assignee: Yang Jie > Priority: Minor > > Maven compile compilation warnings as follows: > > {code:java} > [WARNING] [Warn] > /spark/common/network-common/src/test/java/org/apache/spark/network/client/TransportClientFactorySuite.java:231: > org.junit.rules.ExpectedException中的none()已过时 > [WARNING] [Warn] > /spark/common/network-common/src/test/java/org/apache/spark/network/client/TransportClientFactorySuite.java:247: > org.junit.rules.ExpectedException中的none()已过时 > [WARNING] [Warn] > /spark/common/network-common/src/test/java/org/apache/spark/network/crypto/TransportCipherSuite.java:84: > org.junit.Assert中的<T>assertThat(T,org.hamcrest.Matcher<? super T>)已过时 > [WARNING] [Warn] > /spark/launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java:43: > org.junit.rules.ExpectedException中的none()已过时 > [WARNING] [Warn] > /spark/core/src/test/java/org/apache/spark/unsafe/map/AbstractBytesToBytesMapSuite.java:542: > org.junit.Assert中的<T>assertThat(T,org.hamcrest.Matcher<? super T>)已过时 > [WARNING] [Warn] > /spark/core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java:227: > org.junit.Assert中的<T>assertThat(T,org.hamcrest.Matcher<? super T>)已过时 > [WARNING] [Warn] > /spark/core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java:235: > org.junit.Assert中的<T>assertThat(T,org.hamcrest.Matcher<? super T>)已过时 > [WARNING] [Warn] > /spark/core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java:254: > org.junit.Assert中的<T>assertThat(T,org.hamcrest.Matcher<? super T>)已过时 > [WARNING] [Warn] > /spark/sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetSuite.java:915: > org.junit.rules.ExpectedException中的none()已过时 > {code} > > "已过时" means Deprecated > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org