flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2638) Add @SafeVarargs to the environment.fromElements(...) method
Date Wed, 09 Sep 2015 14:02:46 GMT

    [ https://issues.apache.org/jira/browse/FLINK-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14736890#comment-14736890
] 

ASF GitHub Bot commented on FLINK-2638:
---------------------------------------

Github user StephanEwen commented on the pull request:

    https://github.com/apache/flink/pull/1109#issuecomment-138918211
  
    Yes, has been bugging me as well. Will merge this then...


> Add @SafeVarargs to the environment.fromElements(...) method
> ------------------------------------------------------------
>
>                 Key: FLINK-2638
>                 URL: https://issues.apache.org/jira/browse/FLINK-2638
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core, Streaming
>    Affects Versions: 0.10
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>             Fix For: 0.10
>
>
> This annotation suppresses the warnings when people use these methods with generic types.
> Since we check types and serialize them in the input format anyways, we should be actually
safe.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message