[xwiki/xwiki-platform] 83bdb3: [Misc] Replace replaceAll() with replace() in Imag...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 83bdb34d74fd5000c47c40eac639c5a109869d08 https://github.com/xwiki/xwiki-platform/commit/83bdb34d74fd5000c47c40eac639c... Author: Vincent Massol <[email protected]> Date: 2026-06-26 (Fri, 26 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-importer/src/main/java/org/xwiki/officeimporter/internal/filter/ImageFilter.java Log Message: ----------- [Misc] Replace replaceAll() with replace() in ImageFilter * Fixes a SonarQube java:S5361 issue: the first argument of replaceAll() was the regex "\\+" which only matches the literal "+" character, so the non-regex String.replace("+", "%2B") is equivalent and avoids compiling a Pattern on every call. Claude-Session: https://claude.ai/code/session_01WA3TKX7ukr5jS18jDKN3bA Co-authored-by: Claude <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications