[xwiki-notifications] [xwiki/xwiki-platform] 6abfa5: [misc] Improve code based on SonarQube suggestions.