[xwiki/xwiki-platform] 9de11f: [Misc] Don't throw exceptions from a finally block...
Branch: refs/heads/claude/intelligent-maxwell-nngqbe Home: https://github.com/xwiki/xwiki-platform Commit: 9de11f214742c4b6dd2297de60fb734d7c201b1a https://github.com/xwiki/xwiki-platform/commit/9de11f214742c4b6dd2297de60fb7... Author: Vincent Massol <[email protected]> Date: 2026-07-02 (Thu, 02 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-xar/xwiki-platform-xar-model/src/main/java/org/xwiki/xar/XarPackage.java Log Message: ----------- [Misc] Don't throw exceptions from a finally block in XarPackage#write Log a warning instead of throwing when closing the XML stream writer fails in the finally block, so a close failure never masks the original exception from the try block (or gets thrown with no original failure to report). Fixes SonarCloud issues java:S1143 and java:S1163. 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