Merge "Allow ChangeEmail derived classes to append to the mail footer"

This commit is contained in:
Shawn Pearce
2012-10-21 10:36:21 -07:00
committed by Gerrit Code Review

View File

@@ -121,11 +121,16 @@ public abstract class ChangeEmail extends OutgoingEmail {
}
} catch (OrmException e) {
}
formatFooter();
}
/** Format the message body by calling {@link #appendText(String)}. */
protected abstract void formatChange() throws EmailException;
/** Format the message footer by calling {@link #appendText(String)}. */
protected void formatFooter() throws EmailException {
}
/** Setup the message headers and envelope (TO, CC, BCC). */
protected void init() throws EmailException {
if (args.projectCache != null) {