XWIKI-10291: Formulas are not showing up in PDF documents if document is not public
* Fix checkstyle error