[xwiki/xwiki-platform] 2869c2: [Misc] Reduce Cognitive Complexity of deleteEmptyD...
Branch: refs/heads/claude/quirky-dirac-vvd4e8 Home: https://github.com/xwiki/xwiki-platform Commit: 2869c2f401bb79af355314528f14fe6cbd2813d3 https://github.com/xwiki/xwiki-platform/commit/2869c2f401bb79af355314528f14f... Author: Vincent Massol <[email protected]> Date: 2026-06-24 (Wed, 24 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-filesystem-oldcore/src/main/java/org/xwiki/store/filesystem/internal/XWikiFilesystemBlobStorePropertiesCustomizer.java Log Message: ----------- [Misc] Reduce Cognitive Complexity of deleteEmptyDirs method flagged by SonarQube * Extract the directory-children iteration and the deletion into dedicated private helper methods (areChildrenEmpty and tryDelete). * Use a guard clause to flatten the nesting of the main method. * Pure internal refactoring with no behavioral or API change. Co-authored-by: Vincent Massol <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications