Split OutgoingEmail into 2 classes

Split OutgoingEmail into one class for basic OutgoingEmail,
and one class for emails related to changes: ChangeEmail.
This simplifies both classes and allows the registering
emails to not have to worry about changes.

Change-Id: I21811a961fb787af75547381a78e97d391e04e42
This commit is contained in:
Martin Fick
2010-07-20 15:13:59 -06:00
parent 228e8dd509
commit 371226b913
9 changed files with 482 additions and 390 deletions

View File

@@ -37,7 +37,7 @@ public class MergeFailSender extends ReplyToChangeSender {
}
@Override
protected void format() {
protected void formatChange() {
appendText("Change " + change.getKey().abbreviate());
if (patchSetInfo != null && patchSetInfo.getAuthor() != null
&& patchSetInfo.getAuthor().getName() != null) {