[xwiki/xwiki-platform] 5f0055: [Misc] Use String.replace() instead of String.repl...
Branch: refs/heads/claude/dreamy-franklin-eqxjl Home: https://github.com/xwiki/xwiki-platform Commit: 5f00556d218e1c213aba0a409d9a911be61951c1 https://github.com/xwiki/xwiki-platform/commit/5f00556d218e1c213aba0a409d9a9... Author: Claude <[email protected]> Date: 2026-06-07 (Sun, 07 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/main/java/org/xwiki/uiextension/script/UIExtensionScriptService.java Log Message: ----------- [Misc] Use String.replace() instead of String.replaceAll() in UIExtensionScriptService to fix a SonarQube issue * The pattern passed to replaceAll() is a plain literal (a single space) with no regular expression syntax, so compiling a regex is unnecessary overhead. Using String.replace() is clearer and more efficient and resolves the SonarQube java:S5361 issue. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications