[xwiki/xwiki-platform] 3cdd25: [Misc] Fix 12 SonarQube constant-and-resource-rule...
Branch: refs/heads/sonar-fix-constant-resource Home: https://github.com/xwiki/xwiki-platform Commit: 3cdd2588cd98fed73a5367280ff423b684a81dec https://github.com/xwiki/xwiki-platform/commit/3cdd2588cd98fed73a5367280ff42... Author: Vincent Massol <[email protected]> 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-oldcore/src/main/java/com/xpn/xwiki/web/XWikiAction.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 12 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: use the already-defined CLASS_SUFFIX_XWIKIGROUPS and DEFAULT_MEMBER_SPACE constants in GROUPCLASS_REFERENCE (java:S1192, 2 issues) * XWikiRepositoryModel: use the already-defined SOLR_BOOLEAN constant (java:S1192, 1 issue) * XWikiAction: remove a redundant jump at the end of a try block followed immediately by another return (java:S3626, 1 issue) Co-Authored-By: Kimi Code <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications