[xwiki/xwiki-platform] 0c908b: [Misc] Replace String#replaceAll() with String#rep...
Branch: refs/heads/claude/tender-johnson-zm2ye9 Home: https://github.com/xwiki/xwiki-platform Commit: 0c908b7637d3b9170ceee325ecb19a68177b6f49 https://github.com/xwiki/xwiki-platform/commit/0c908b7637d3b9170ceee325ecb19... Author: Vincent Massol <[email protected]> Date: 2026-06-25 (Thu, 25 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-api/src/main/java/org/xwiki/notifications/filters/internal/DefaultNotificationFilterDisplayer.java Log Message: ----------- [Misc] Replace String#replaceAll() with String#replace() in the notification filter displayer (SonarQube) * The SonarQube rule java:S5361 flags the use of String#replaceAll() with a first argument that is a plain literal and not a real regular expression. * The regex "\\/" only matches the literal "/" character, so the call can be replaced by the literal String#replace("/", ".") which is clearer and avoids the unnecessary regular expression compilation. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications