Merge "PostReview: Remove deprecated marker from hooks attribute"

This commit is contained in:
Edwin Kempin 2015-10-09 12:44:54 +00:00 committed by Gerrit Code Review
commit 6a556e9b4f

View File

@ -91,7 +91,7 @@ public class PostReview implements RestModifyView<RevisionResource, ReviewInput>
private final ChangeIndexer indexer;
private final AccountsCollection accounts;
private final EmailReviewComments.Factory email;
@Deprecated private final ChangeHooks hooks;
private final ChangeHooks hooks;
private Change change;
private ChangeMessage message;
@ -577,7 +577,6 @@ public class PostReview implements RestModifyView<RevisionResource, ReviewInput>
return true;
}
@Deprecated
private void fireCommentAddedHook(RevisionResource rsrc) {
IdentifiedUser user = (IdentifiedUser) rsrc.getControl().getCurrentUser();
try {