Github user sarutak commented on a diff in the pull request:
https://github.com/apache/spark/pull/3789#discussion_r22250287
--- Diff: core/src/main/scala/org/apache/spark/api/java/JavaUtils.scala ---
@@ -80,7 +80,7 @@ private[spark] object JavaUtils {
prev match {
case Some(k) =>
underlying match {
- case mm: mutable.Map[a, _] =>
+ case mm: mutable.Map[_, _] =>
--- End diff --
I thought it should be `A` but the type parameter at the position is no
mean because the erasure removes type information at the time of compile.
Even though, should we place `A` for readability?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]