[xwiki/xwiki-commons] 9b9a24: [Misc] Add the since argument to @Deprecated annot...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-commons Commit: 9b9a24decf6ed67e33103b210d8f91af4592aa78 https://github.com/xwiki/xwiki-commons/commit/9b9a24decf6ed67e33103b210d8f91... Author: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Date: 2026-08-23 (Sun, 23 Aug 2026) Changed paths: M xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/repository/result/AggregatedIterator.java Log Message: ----------- [Misc] Add the since argument to @Deprecated annotations whose Javadoc lists several versions (SonarQube) (#1921) * [Misc] Add the missing since argument to @Deprecated annotations reported by SonarQube * SonarQube rule java:S6355, for the sites whose @deprecated Javadoc tag lists SEVERAL versions (a stable-branch release and a master release, e.g. "since 14.10.2, 15.0RC1"). The last (highest) version listed is used; see the pull request description. Co-Authored-By: Vincent Massol <[email protected]> * [Misc] Remove the deprecating versions from the @deprecated Javadoc tags * Follow-up to the java:S6355 fix in the previous commit, for the multi-version sites: the version now lives in @Deprecated(since = "…") so the Javadoc tag no longer repeats it. Co-Authored-By: Vincent Massol <[email protected]> * [Misc] List every version of a multi-branch deprecation in @Deprecated(since) * Review feedback: the XWiki Java Code Style says that when a deprecation is done in several branches, the since parameter takes a comma-separated list of ALL the versions in which the deprecation happened, e.g. @Deprecated(since = "15.5RC1,14.10.12"). The previous commit picked a single version, which loses information. See https://dev.xwiki.org/xwiki/bin/view/Community/CodeStyle/JavaCodeStyle/#HDep... Co-Authored-By: Vincent Massol <[email protected]> * [Misc] Keep the Javadoc's own order in the @Deprecated since list * Review feedback: the best practice page prescribes a comma-separated list but no ordering, so the versions keep the order the @deprecated Javadoc tag listed them in rather than being sorted. 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-commons/settings/notifications
participants (1)
-
XWiki Notifications