Say in accounts REST API module where the gpgkeys REST endpoints are bound

The com.google.gerrit.server.restapi.account.Module class binds all
acoount REST endpoints except the gpgkeys REST endpoints. Readers of the
com.google.gerrit.server.restapi.account.Module class may not except
that there is another class that binds additional account REST
endpoints. Add a comment that makes them aware that the gpgkeys REST
endpoints are bound somewhere else (change Idbab00a52 moved the gpgkeys
REST endpoints into an own module).

Change-Id: Ic48c65069f78d9614292d40ae476a646af754fbd
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2018-06-29 15:58:09 +02:00
parent d63076c18b
commit 6396a05778

View File

@@ -107,6 +107,8 @@ public class Module extends RestApiModule {
get(ACCOUNT_KIND, "external.ids").to(GetExternalIds.class);
post(ACCOUNT_KIND, "external.ids:delete").to(DeleteExternalIds.class);
// The gpgkeys REST endpoints are bound via GpgApiModule.
factory(AccountsUpdate.Factory.class);
}