You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/09/14 06:39:00 UTC
[jira] [Assigned] (SPARK-36750) Use java.util.Objects API instead
of Guava API
[ https://issues.apache.org/jira/browse/SPARK-36750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-36750:
------------------------------------
Assignee: (was: Apache Spark)
> Use java.util.Objects API instead of Guava API
> ----------------------------------------------
>
> Key: SPARK-36750
> URL: https://issues.apache.org/jira/browse/SPARK-36750
> Project: Spark
> Issue Type: Improvement
> Components: MLlib, Spark Core, SQL
> Affects Versions: 3.3.0
> Reporter: Yang Jie
> Priority: Minor
>
> Java 8 provides the java.util.Objects, we can use it to replace some guava API usages with the same semantics.
>
> * Preconditions.checkNotNull -> j.u.Objects.requireNonNull
> * Objects.hashCode -> j.u.Objects.hash
> * Objects.equal -> j.u.Objects.equals
> *
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org