Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/22384#discussion_r216454783
--- Diff: core/src/main/scala/org/apache/spark/util/ClosureCleaner.scala ---
@@ -175,7 +175,7 @@ private[spark] object ClosureCleaner extends Logging {
closure.getClass.isSynthetic &&
closure
.getClass
- .getInterfaces.exists(_.getName.equals("scala.Serializable"))
+ .getInterfaces.exists(_.getName == "scala.Serializable")
--- End diff --
See JIRA for explanation of this one
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]