예제 #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
파일: Element.java 프로젝트: origocms/origo
 public Html decorate(RenderingContext renderingContext) {
   return HtmlFormat.raw(
       "Element ["
           + getClass().getName()
           + "] is not correctly decorated. Please add a decorator.");
 }
예제 #3
0
파일: Element.java 프로젝트: origocms/origo
 public T setBody(String body) {
   return setBody(HtmlFormat.raw(body));
 }