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);
|
return apply(rsrc.getUser(), newPassword);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Used by the admin console plugin
|
@UsedAt(UsedAt.Project.PLUGIN_SERVICEUSER)
|
||||||
// TODO(dpursehouse): Replace comment with @UsedAt
|
|
||||||
public Response<String> apply(IdentifiedUser user, String newPassword)
|
public Response<String> apply(IdentifiedUser user, String newPassword)
|
||||||
throws ResourceNotFoundException, ResourceConflictException, OrmException, IOException,
|
throws ResourceNotFoundException, ResourceConflictException, OrmException, IOException,
|
||||||
ConfigInvalidException {
|
ConfigInvalidException {
|
||||||
|
|||||||
Reference in New Issue
Block a user