Пример #1
0
 private String getNewEventValue() {
   return Messages.get(
       "issue.event.referred.from.pullrequest",
       this.contributor.loginId,
       TemplateHelper.branchItemName(this.fromBranch),
       TemplateHelper.branchItemName(this.toBranch),
       routes.PullRequestApp.pullRequest(this.toProject.owner, this.toProject.name, this.number),
       HtmlFormat.escape(this.title),
       this.number,
       HtmlFormat.escape(this.body));
 }
Пример #2
0
 public Html decorate(RenderingContext renderingContext) {
   return HtmlFormat.raw(
       "Element ["
           + getClass().getName()
           + "] is not correctly decorated. Please add a decorator.");
 }
Пример #3
0
 public T setBody(String body) {
   return setBody(HtmlFormat.raw(body));
 }