[xwiki/xwiki-platform] 6f166a: [Misc] Compile regular expressions outside of loop...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 6f166aef5f6b55fc3f98ca6e7e2f0411994b43ae https://github.com/xwiki/xwiki-platform/commit/6f166aef5f6b55fc3f98ca6e7e2f0... Author: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Date: 2026-08-25 (Tue, 25 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-csrf/src/test/java/org/xwiki/csrf/DefaultCSRFTokenTest.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/migration/R160500000XWIKI22271DataMigration.java M xwiki-platform-core/xwiki-platform-query/xwiki-platform-query-manager/src/main/java/org/xwiki/query/internal/EscapeLikeParametersQuery.java M xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-ui/src/test/java/org/xwiki/search/ui/SearchSuggestSourceSheetPageTest.java M xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-transaction/src/main/java/org/xwiki/store/TransactionException.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-integration/src/main/java/org/xwiki/test/integration/XWikiExecutorSuite.java M xwiki-platform-tools/xwiki-platform-tool-standards-validator/src/main/java/org/xwiki/validator/HTML5DutchWebGuidelinesValidator.java Log Message: ----------- [Misc] Compile regular expressions outside of loops (SonarQube) (#6222) * [Misc] Compile regular expressions outside of loops (SonarQube) * java:S9142: extract the regular expressions that were compiled on every iteration of a loop (through String#matches() or String#replaceAll()) into static Pattern constants. Co-Authored-By: Vincent Massol <[email protected]> * [Misc] Use the multi-line Javadoc format in DefaultCSRFTokenTest * Following review: the single-line /** xxx */ form is not the house style, so the comment added by the previous commit and the three the file already had are converted to the multi-line form. Co-Authored-By: Vincent Massol <[email protected]> --------- Co-authored-by: Vincent Massol <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications