You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/05/16 12:48:49 UTC

[jira] [Resolved] (SPARK-1095) Ensure all public methods return explicit types

     [ https://issues.apache.org/jira/browse/SPARK-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Wendell resolved SPARK-1095.
------------------------------------

    Resolution: Fixed

> Ensure all public methods return explicit types
> -----------------------------------------------
>
>                 Key: SPARK-1095
>                 URL: https://issues.apache.org/jira/browse/SPARK-1095
>             Project: Spark
>          Issue Type: Sub-task
>            Reporter: Patrick Wendell
>            Assignee: prashant
>             Fix For: 1.0.0
>
>
> This talk explains some of the challenges around typing for binary compatibility:
> http://www.slideshare.net/mircodotta/managing-binary-compatibility-in-scala
> For public methods we should always declare the type. We've had this as a guideline in the past but we need to make sure we obey it in all public interfaces. Also, we should return the most general type possible.



--
This message was sent by Atlassian JIRA
(v6.2#6252)