[xwiki/xwiki-rendering] 0b8c1c: [Misc] Compile a regex outside a loop and use Java...
Branch: refs/heads/claude/peaceful-archimedes-6a1n0j Home: https://github.com/xwiki/xwiki-rendering Commit: 0b8c1c31790327bc8ae138f18caa33b012222c48 https://github.com/xwiki/xwiki-rendering/commit/0b8c1c31790327bc8ae138f18caa... Author: Vincent Massol <[email protected]> Date: 2026-08-25 (Tue, 25 Aug 2026) Changed paths: M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/XWikiSyntaxChainingRenderer.java M xwiki-rendering-wikimodel/src/test/java/org/xwiki/rendering/wikimodel/ReferenceHandlerTest.java Log Message: ----------- [Misc] Compile a regex outside a loop and use Javadoc syntax (SonarQube) * java:S9142: hoist the parameter-value escaping regex of XWikiSyntaxChainingRenderer into a compiled Pattern constant instead of calling String#replaceAll() inside the parameter loop. * java:S9355: remove the two "(non-Javadoc)" block comments of ReferenceHandlerTest, which hold Javadoc tags without being Javadoc; the @Override annotations already say the methods are inherited. Co-Authored-By: Vincent Massol <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-rendering/settings/notifications
participants (1)
-
XWiki Notifications