Branch: refs/heads/claude/amazing-brahmagupta-1qerkw Home: https://github.com/xwiki/xwiki-platform Commit: f9fd104b4c60e8685c72eaf0b0a2cffc4857886f https://github.com/xwiki/xwiki-platform/commit/f9fd104b4c60e8685c72eaf0b0a2c... Author: Claude <[email protected]> Date: 2026-06-18 (Thu, 18 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-resource/xwiki-platform-resource-temporary/src/main/java/org/xwiki/resource/temporary/internal/DefaultTemporaryResourceStore.java Log Message: ----------- [Misc] Use try-with-resources to close the output stream in DefaultTemporaryResourceStore * Fixes a SonarQube issue (java:S2093) by replacing the manual try/finally with IOUtils.closeQuietly() by a try-with-resources block on the FileOutputStream, ensuring the stream is always properly closed. * Moved the parent folders creation out of the try block since it does not need the stream to be opened. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01QTXLxCd8iwnZZ3PPSY9B1e To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications