Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: cc4f89537b2dd5ddba6bda55127a61fb87e104fb https://github.com/xwiki/xwiki-platform/commit/cc4f89537b2dd5ddba6bda55127a6... Author: Vincent Massol <[email protected]> Date: 2026-06-05 (Fri, 05 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-chart/xwiki-platform-chart-macro/src/main/java/org/xwiki/rendering/internal/macro/chart/TemporaryChartImageWriter.java Log Message: ----------- [Misc] Simplify chart image writing to fix SonarQube resource-handling issue (#5568) * Replaced the manual FileOutputStream try/finally block with commons-io FileUtils.writeByteArrayToFile, which closes the stream automatically and removes the boilerplate flagged by SonarQube rule java:S2093 ("try" should be a try-with-resources). Co-authored-by: Claude <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications