[xwiki-notifications] [xwiki/xwiki-commons] cf9b03: Revert "Revert "[Misc] Use try-with-resources or c...