commit | 3ce22c061eea60d46bc489c9777169cad1315e4e | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Wed Apr 14 10:53:30 2021 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Wed Apr 14 11:09:12 2021 +0200 |
tree | a819a4fabc22f4976a7ac777b6b0a630c05c50f5 | |
parent | ce52ad0ff924fc98a50ac95f791bbac14846e25d [diff] |
Fix ambiguous assertThat calls for override approvals CodeOwnersPluginConfigSnapshot#getOverrideApprovals() returns an ImmutableSortedSet now (see change I38415ec45). This makes assetThat calls for override approvals ambiguous: both method assertThat(ImmutableSet<RequiredApproval>) in RequiredApprovalSubject and method assertThat(SortedSet<?>) in Truth match Change the signature of assertThat(ImmutableSet<RequiredApproval>) to assertThat(ImmutableSortedSet<RequiredApproval>) so that it takes precedence. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Id80ab0f2e92af66b9ed8075b6fdf9890bab207e0
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.