[xwiki/xwiki-platform] 5e3f2b: [Misc] Reduce cognitive complexity of ExtensionSup...
Branch: refs/heads/claude/zealous-cori-s1292s Home: https://github.com/xwiki/xwiki-platform Commit: 5e3f2b10360deaa3399c89a601643ba23f13d169 https://github.com/xwiki/xwiki-platform/commit/5e3f2b10360deaa3399c89a601643... Author: Claude <[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). To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications