Merge branch 'stable-2.16' into stable-3.0

* stable-2.16:
  PutHttpPassword: Fix comment
  PutHttpPassword: Replace comment with @UsedAt annotation

Change-Id: I7bc834e7bf658ee8c6b4390c6c122f412b600afe
This commit is contained in:
David Pursehouse
2019-05-30 19:21:42 +09:00

View File

@@ -106,8 +106,7 @@ public class PutHttpPassword implements RestModifyView<AccountResource, HttpPass
return apply(rsrc.getUser(), newPassword);
}
// Used by the admin console plugin
// TODO(dpursehouse): Replace comment with @UsedAt
@UsedAt(UsedAt.Project.PLUGIN_SERVICEUSER)
public Response<String> apply(IdentifiedUser user, String newPassword)
throws ResourceNotFoundException, ResourceConflictException, IOException,
ConfigInvalidException {