[xwiki/xwiki-commons] e4bcce: [Misc] Extract the nested ternary operations of De...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-commons Commit: e4bcce62725a286979f135b40c46a1618ff8f1a3 https://github.com/xwiki/xwiki-commons/commit/e4bcce62725a286979f135b40c46a1... Author: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Date: 2026-08-11 (Tue, 11 Aug 2026) Changed paths: M xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/version/internal/DefaultVersionRange.java Log Message: ----------- [Misc] Extract the nested ternary operations of DefaultVersionRange (SonarQube) (#1889) * Fixes 3 java:S3358 SonarCloud issues by extracting the inner "upper ? x : y" ternaries into named locals. Both rewrites are provably equivalent: the two branches of the flagged expressions are exact negations of each other. Co-authored-by: Vincent Massol <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
participants (1)
-
XWiki Notifications