apache/beam

Eliminate rawtype errors from Beam Java

Open

#20,447 opened on Jun 4, 2022

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Java (4,097 forks)batch import
P3amqpavroawsazurecassandraclickhouseelasticsearchfilesgcpgood first issuehadoop-file-systemimprovementiojava

Repository metrics

Stars
 (7,313 stars)
PR merge metrics
 (Avg merge 6d) (243 merged PRs in 30d)

Description

A few modules used to have no rawtype errors. Now many of them do. Rawtypes are a legacy compatibility feature that should not be used in new code. Concretely, they obscure types (readability), mask errors (casts failing at runtime), and harm static analysis (checker framework recommends eliminating rawtypes as your first step)

Imported from Jira BEAM-10556. Original Jira may contain additional context. Reported by: kenn.

Contributor guide