commit | ed64fb63e5dac049ae62f5b620de17238fce95a5 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Thu Mar 04 17:07:08 2021 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Thu Mar 04 17:40:41 2021 +0100 |
tree | 93e02bf02320e99c3fdd07696b89cf4f00f6a06a | |
parent | 331e6bdcb05641e32909a59d4610f4f5fd28bf34 [diff] |
PathCodeOwners: Return ImmutableSet from methods that get imports getGlobalImports already returned an ImmutableSet but didn't say so in its method signature. getPerFileImports returned a mutable set, but nobody should mutate the returned set, hence it's better to return an ImmutableSet. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Idc36b14ac7e67642b84e73a7ebc3745544320c28
This plugin provides support for defining code owners for files in a repository.
If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.
Also see resources/Documentation/about.md.
IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide, see resources/Documentation/setup-guide.md.