[xwiki/xwiki-platform] a41e26: [Misc] Simplify chart image writing to fix SonarQu...
Branch: refs/heads/claude/peaceful-mendel-AQQTK Home: https://github.com/xwiki/xwiki-platform Commit: a41e267805b686a82592027e6b3597156fe9d2d5 https://github.com/xwiki/xwiki-platform/commit/a41e267805b686a82592027e6b359... Author: Claude <[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 * 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). To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications