コード例 #1
0
ファイル: ChangeEmail.java プロジェクト: nfinke/tools_gerrit
 @Override
 protected void setupVelocityContext() {
   super.setupVelocityContext();
   velocityContext.put("change", change);
   velocityContext.put("changeId", change.getKey());
   velocityContext.put("coverLetter", getCoverLetter());
   velocityContext.put("branch", change.getDest());
   velocityContext.put("fromName", getNameFor(fromId));
   velocityContext.put(
       "projectName", //
       projectState != null ? projectState.getProject().getName() : null);
   velocityContext.put("patchSet", patchSet);
   velocityContext.put("patchSetInfo", patchSetInfo);
 }