Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: af24fd5dbb60daa968524b1f563a2d20ec34861a https://github.com/xwiki/xwiki-platform/commit/af24fd5dbb60daa968524b1f563a2... Author: Vincent Massol <[email protected]> Date: 2026-06-15 (Mon, 15 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/ExtensionSupportProtectionListener.java Log Message: ----------- [Misc] Reduce cognitive complexity of ExtensionSupportProtectionListener.onEvent * Replace the outer "if (nextExtensionObject != null)" wrapper with an early return guard clause, removing one level of nesting and bringing the method's cognitive complexity below the threshold reported by SonarQube (16 -> 15). Co-authored-by: Claude <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications