@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); }