[xwiki/xwiki-rendering] 8ffd6d: [Misc] Add the since argument to @Deprecated annot...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-rendering Commit: 8ffd6d67054c417a0cb94d3421b4536d30b822b0 https://github.com/xwiki/xwiki-rendering/commit/8ffd6d67054c417a0cb94d3421b4... Author: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Date: 2026-08-23 (Sun, 23 Aug 2026) Changed paths: M xwiki-rendering-api/src/main/java/org/xwiki/rendering/internal/renderer/ParametersPrinter.java Log Message: ----------- [Misc] Add the since argument to @Deprecated annotations whose Javadoc lists several versions (SonarQube) (#410) * [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-rendering/settings/notifications
participants (1)
-
XWiki Notifications