PutHttpPassword: Replace comment with @UsedAt annotation
Annotate the apply() method which is used by the serviceuser plugin. Note that the comment incorrectly states that it's used by the admin-console plugin. Change-Id: I55304efa41665c534c484fa1aede362b8b51674d
This commit is contained in:
@@ -107,8 +107,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, OrmException, IOException,
|
||||
ConfigInvalidException {
|
||||
|
||||
Reference in New Issue
Block a user