[jira] [Created] (FLINK-2638) Add @SafeVarargs to the environment.fromElements(...) method

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-2638) Add @SafeVarargs to the environment.fromElements(...) method

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-2638:
-----------------------------------

             Summary: 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
             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)