GitHub user StephanEwen opened a pull request: https://github.com/apache/flink/pull/1109
[FLINK-2638] [core] Add @SafeVarargs to the ExecutionEnvironment's "fromElements(...)" method This helps to get rid of the "unchecked" warnings in places where the methods are called. The annotation states that the code can handle false generic types (added raw or through unchecked casting) without "polluting the heap", i.e. operating under false assumptions about generic parameters. I think we can add the annotation here. You can merge this pull request into a Git repository by running: $ git pull https://github.com/StephanEwen/incubator-flink safe_varargs Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/1109.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1109 ---- commit 866e8e77b402640a5c08708807363b95e2fe0fbe Author: Stephan Ewen <se...@apache.org> Date: 2015-09-08T15:22:23Z [FLINK-2638] [core] Add @SafeVarargs to the ExecutionEnvironment's "fromElements(...)" method. ---- --- 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. ---