You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2018/05/18 08:13:00 UTC
[jira] [Resolved] (FLINK-9392) Add @FunctionalInterface annotations
to all core functional interfaces
[ https://issues.apache.org/jira/browse/FLINK-9392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Ewen resolved FLINK-9392.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Fixed in fafef15eaca1f4277ac1dddb018a8e01eca22817
> Add @FunctionalInterface annotations to all core functional interfaces
> ----------------------------------------------------------------------
>
> Key: FLINK-9392
> URL: https://issues.apache.org/jira/browse/FLINK-9392
> Project: Flink
> Issue Type: Improvement
> Components: Core
> Reporter: Stephan Ewen
> Assignee: Stephan Ewen
> Priority: Critical
> Fix For: 1.6.0
>
>
> The {{@FunctionalInterface}} annotation should be added to all SAM interfaces in order to prevent accidentally breaking them (as non SAMs).
> We had a case of that before for the {{SinkFunction}} which was compatible through default methods, but incompatible for users that previously instantiated that interface through a lambda.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)