apache/beam

Migrate common_job_properties.groovy to use Maps for keyword argument style calls instead of positional arguments

开放

#18,768 创建于 2022年6月3日

 (0 条评论) (0 个反应) (0 位负责人)Java (4,097 个派生)batch import
P3good first issueimprovementtests

仓库指标

星标
 (7,313 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

This follows the the style defined within build_rules.gradle as it is much simpler to read the following method with keyword arguments: setCommonJobProperties(context: context, maxWorkers: 3)

This also simplifies the usage of methods with multiple default arguments.

Imported from Jira BEAM-4235. Original Jira may contain additional context. Reported by: lcwik.

贡献者指南