[xwiki/xwiki-platform] 381c51: [Misc] Replace all literal replaceAll() with repla...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 381c51b6a8e46e7aa0bab4db2d352c4190bdc3c3 https://github.com/xwiki/xwiki-platform/commit/381c51b6a8e46e7aa0bab4db2d352... 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 all literal replaceAll() with replace() in Util.java (SonarCloud java:S5361) * The replaceAll() calls use plain literal single-character patterns with no regex semantics, so they are equivalent to (and clearer as) replace() calls. Fixes 50 SonarCloud java:S5361 issues. * 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