Remove unused method in ReviewerResource

Change-Id: I1c1b3ddc6f8a4f72b207f5d546605e2a2c3999cd
This commit is contained in:
Patrick Hiesel
2017-09-07 17:30:46 +02:00
parent 266c56ff3a
commit 9bd05defe3

View File

@@ -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);
}
}