[xwiki/xwiki-platform] 02657c: [Misc] Fix 11 SonarQube constant-and-resource-rule...
Branch: refs/heads/sonar-fix-constant-resource Home: https://github.com/xwiki/xwiki-platform Commit: 02657c854d38ff1e93591f28c1c9abc917fa40a2 https://github.com/xwiki/xwiki-platform/commit/02657c854d38ff1e93591f28c1c9a... Author: Vincent Massol <vincent@massol.net> Date: 2026-07-30 (Thu, 30 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/impl/xwiki/XWikiGroupServiceImpl.java M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/XWikiRepositoryModel.java Log Message: ----------- [Misc] Fix 11 SonarQube constant-and-resource-rule issues * XWiki: use replace() instead of replaceAll() where the pattern is a single literal character and the replacement has no special meaning (java:S5361, 8 issues) * XWikiGroupServiceImpl: replace the duplicated "XWikiGroups" and "XWiki" literals with the already-defined CLASS_SUFFIX_XWIKIGROUPS constant and with the canonical XWiki.SYSTEM_SPACE constant, dropping the now-redundant DEFAULT_MEMBER_SPACE alias (java:S1192, 2 issues) * XWikiRepositoryModel: use the already-defined SOLR_BOOLEAN constant (java:S1192, 1 issue) Co-Authored-By: Kimi Code <noreply@moonshot.cn> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications