[xwiki/xwiki-platform] d937c3: [Misc] Reduce cognitive complexity of exclusive fi...
Branch: refs/heads/claude/amazing-brahmagupta-fq32p6 Home: https://github.com/xwiki/xwiki-platform Commit: d937c337d69db1e158601d753badbd03dd3a404c https://github.com/xwiki/xwiki-platform/commit/d937c337d69db1e158601d753badb... Author: Claude <[email protected]> Date: 2026-06-25 (Thu, 25 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-api/src/main/java/org/xwiki/notifications/filters/internal/scope/ScopeNotificationFilterLocationStateComputer.java Log Message: ----------- [Misc] Reduce cognitive complexity of exclusive filter handling reported by SonarQube * Extract the nested loops of handleExclusiveFilters into dedicated private helper methods (handleExclusiveFilter and handleExclusiveChild) and introduce a small private holder for the running best match, bringing the method's cognitive complexity below the allowed threshold without changing behavior. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications