write("&amp;C");
<BUG>write(StringEscapeUtils.escapeHtml(printSettings.getFooterCenter()));
</BUG>
}
<BUG>if (StringUtils.isNotBlank(printSettings.getFooterRight()))
{</BUG>
write("&amp;R");
<BUG>write(StringEscapeUtils.escapeHtml(printSettings.getFooterRight()));
</BUG>
}

write("&amp;C");
write(JRStringUtil.xmlEncode(printSettings.getFooterCenter()));
}
if (printSettings.getFooterRight() != null && !printSettings.getFooterRight().trim().isEmpty())
{
write("&amp;R");
write(JRStringUtil.xmlEncode(printSettings.getFooterRight()));
}
