Branch: refs/heads/claude/zealous-cori-o1aozj Home: https://github.com/xwiki/xwiki-platform Commit: 951ef05a03c225e067073647b3203327053193db https://github.com/xwiki/xwiki-platform/commit/951ef05a03c225e067073647b3203... Author: Claude <[email protected]> Date: 2026-06-11 (Thu, 11 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-streams/xwiki-platform-filter-stream-xar/src/main/java/org/xwiki/filter/xar/internal/input/AttachmentReader.java Log Message: ----------- [Misc] Reduce cognitive complexity of AttachmentReader.read() reported by SonarQube * Extract the per-element handling of the XAR attachment reading loop into a dedicated private method so that the cognitive complexity of read() drops below the allowed threshold. * Flatten the nested else/if chain into an else-if chain to further reduce nesting. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications