[xwiki/xwiki-platform] 1dee42: [Misc] Replace String#replaceAll() with String#rep...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 1dee42baa25e2241fed70a3c4bdb361198df0b3b https://github.com/xwiki/xwiki-platform/commit/1dee42baa25e2241fed70a3c4bdb3... 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