[xwiki/xwiki-rendering] 96ed4d: [Misc] Document why SonarQube java:S5785 must not ...
Branch: refs/heads/claude/peaceful-archimedes-yatied Home: https://github.com/xwiki/xwiki-rendering Commit: 96ed4d7f82027e05a692b0b08965e57bc90dd2c0 https://github.com/xwiki/xwiki-rendering/commit/96ed4d7f82027e05a692b0b08965... Author: Vincent Massol <[email protected]> Date: 2026-07-28 (Tue, 28 Jul 2026) Changed paths: M xwiki-rendering-api/src/test/java/org/xwiki/rendering/listener/reference/ResourceReferenceTest.java M xwiki-rendering-api/src/test/java/org/xwiki/rendering/syntax/SyntaxTest.java M xwiki-rendering-api/src/test/java/org/xwiki/rendering/syntax/SyntaxTypeTest.java M xwiki-rendering-transformations/xwiki-rendering-transformation-linkchecker/src/test/java/org/xwiki/rendering/transformation/linkchecker/LinkStateTest.java M xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/macro/MacroIdTest.java M xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/macro/source/MacroContentSourceReferenceTest.java Log Message: ----------- [Misc] Document why SonarQube java:S5785 must not be applied to the equals() contract tests * Add @SuppressWarnings("java:S5785") plus an explanatory comment on the 6 test methods that verify the equals()/hashCode() contract, following the SonarQube section of the Java Code Style, so the reason lives next to the code instead of only in SonarCloud * No assertion is changed 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