Rename EmailReviewCommentsExecutor to SendEmailExecutor

The executor was already used to send email for other reason than
review comments. Rename it so it's more explicit that this executor can
be used to send any email asynchronously.

Change-Id: If5d5b59124bf44b4cbdda61536bfb50e8353285e
This commit is contained in:
Hugo Arès
2016-01-21 13:52:44 -05:00
committed by David Pursehouse
parent 0338f88472
commit d220a8ae57
5 changed files with 11 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ public class EmailMerge implements Runnable, RequestContext {
private ReviewDb db;
@Inject
EmailMerge(@EmailReviewCommentsExecutor ExecutorService executor,
EmailMerge(@SendEmailExecutor ExecutorService executor,
MergedSender.Factory mergedSenderFactory,
SchemaFactory<ReviewDb> schemaFactory,
ThreadLocalRequestContext requestContext,