[xwiki/xwiki-platform] ea03c7: [Misc] Replace remaining replaceAll() with replace...
Branch: refs/heads/claude/ecstatic-feynman-31qsc3 Home: https://github.com/xwiki/xwiki-platform Commit: ea03c7ea3584df8f238ed5f8bd58e24b83ddd3db https://github.com/xwiki/xwiki-platform/commit/ea03c7ea3584df8f238ed5f8bd58e... Author: Vincent Massol <[email protected]> Date: 2026-06-27 (Sat, 27 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/util/Util.java Log Message: ----------- [Misc] Replace remaining replaceAll() with replace() in Util.java (SonarCloud java:S5361) Convert all remaining literal-pattern replaceAll() calls to replace(): - the rest of the diacritic table in noaccents(); - the literal patterns in escapeText()/escapeURL(), translating escaped metacharacters (e.g. "\\*") to their literal form ("*"). The only replaceAll() left is escapeText()'s "\\1", which is a genuine (backreference) regex, not a literal, and so is not a 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