28 Dec
2009
28 Dec
'09
9:06 a.m.
Hi Sergiu,
/** - * @return can current user restore this document from recycle bin + * Check if the current user has the right to restore the document. + * + * @return {@code true} if the current user can restore this document, {@code false} otherwise * @throws XWikiException if any error */ - public boolean canUndelete() throws XWikiException + public boolean canUndelete() {
This looks like a public API change. You have introduced a checkstyle error (unused @throws tag) which I fixed since the build was failing. Not sure if the change of the API is a big deal or not in this case. - Asiri