[xwiki-notifications] [xwiki/xwiki-platform] b989eb: [Misc] Fix SonarQube issues by replacing if/else c...