Remove unused method in ReviewerResource
Change-Id: I1c1b3ddc6f8a4f72b207f5d546605e2a2c3999cd
This commit is contained in:
@@ -115,24 +115,8 @@ public class ReviewerResource implements RestResource {
|
||||
return user == null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the control for the caller's user.
|
||||
*
|
||||
* @return the control for the caller's user (as opposed to the reviewer's user as returned by
|
||||
* {@link #getReviewerControl()}).
|
||||
*/
|
||||
/** @return the control for the caller's user */
|
||||
public ChangeControl getControl() {
|
||||
return change.getControl();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the control for the reviewer's user.
|
||||
*
|
||||
* @return the control for the reviewer's user (as opposed to the caller's user as returned by
|
||||
* {@link #getControl()}).
|
||||
*/
|
||||
public ChangeControl getReviewerControl() {
|
||||
checkArgument(user != null, "no user provided");
|
||||
return change.getControl().forUser(user);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user