Convert 3 email classes to file based templates.

Convert the NewChange, RegisterNewEmail and ReplacePatchSet
classes to use file based velocity templates which an admin
may edit.  Factor out getChangeDetail and getReviewersNames
from formatChangeDetail and formatSalutation respectively
to enable this.

Change-Id: I36aa7051f06c7641114e2e681639267769846c22
This commit is contained in:
Martin Fick
2010-07-21 11:46:21 -06:00
parent 40ed99f805
commit 679fc379c8
9 changed files with 203 additions and 159 deletions

View File

@@ -243,6 +243,7 @@ public abstract class ChangeEmail extends OutgoingEmail {
return detail.toString();
}
/** Get the patch list corresponding to this patch set. */
protected PatchList getPatchList() {
if (patchSet != null) {