PostReview: Remove deprecated marker from hooks attribute
Deprecated annotation was added in the very first version of PostReview: Iee7b4dcaa2. Change-Id: Ifb64dc0bfdf6bd498453e2a5b1338cce7399af32
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user