[xwiki/xwiki-platform] 791175: [SONAR] Replace replaceAll() with replace() in Ski...
Branch: refs/heads/claude/magical-faraday-c5MrH Home: https://github.com/xwiki/xwiki-platform Commit: 791175e5a1665fbc16799ab16c08b67f14499227 https://github.com/xwiki/xwiki-platform/commit/791175e5a1665fbc16799ab16c08b... Author: Claude <[email protected]> Date: 2026-05-19 (Tue, 19 May 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/SkinAction.java Log Message: ----------- [SONAR] Replace replaceAll() with replace() in SkinAction for literal string replacement Replace String.replaceAll("\\+", "%20") with String.replace("+", "%20") since the pattern is a plain literal string, not a regex. Using replace() avoids unnecessary regex compilation overhead and clarifies intent (SonarQube rule java:S5361). https://claude.ai/code/session_01R4auBxxSKJh4yhL1xzLJZa To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications