2021222324252627282930
if (hasValue) { SafeHtmlBuilder builder = new SafeHtmlBuilder(); builder.appendHtmlConstant("<i class='" + icon + "'></i>"); render = builder.toSafeHtml(); } else { render = new SafeHtmlBuilder().toSafeHtml(); }
259260261262263264265266267268269
return; } ConfirmationDialog confirmationDialog = new ConfirmationDialog(Gerrit.C.branchDeletionDialogTitle(), b.toSafeHtml(), new ConfirmationCallback() { @Override public void onOk() { deleteBranches(ids); } });
371372373374375376377378379380
timeHtml.appendEscaped("" + value); timeHtml.appendHtmlConstant("</td></tr>"); } }); timeHtml.appendHtmlConstant("</table>"); timeBox.setInnerHTML(timeHtml.toSafeHtml().asString()); } } }