Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/5571#discussion_r28642618 --- Diff: core/src/main/scala/org/apache/spark/api/java/JavaDoubleRDD.scala --- @@ -164,6 +166,20 @@ class JavaDoubleRDD(val srdd: RDD[scala.Double]) def sum(): JDouble = srdd.sum() /** + * Returns the minimum element from this RDD as defined by + * the default comparator natural order. + * @return the minimum of the RDD + */ + def min(): JDouble = super.min(com.google.common.collect.Ordering.natural()) --- End diff -- This doesn't need `super` does it? it isn't wrong but feels very slightly overspecific.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org