Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44864

Don't report deprecated setters if their values are redundant

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When a setter is @Deprecated for example due to a rename or logically redundant migration, do not report the @Deprecated setters if omitting them does not affect the instantiated object.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            plugin/src/main/java/org/jenkinsci/plugins/structs/describable/DescribableModel.java
            plugin/src/test/java/org/jenkinsci/plugins/structs/describable/DescribableModelTest.java
            http://jenkins-ci.org/commit/structs-plugin/3f92f13ace63c04f22c69fadca97b00c5ad5b23f
            Log:
            [FIXED JENKINS-44864] Don't report deprecated setters if their values are redundant

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: plugin/src/main/java/org/jenkinsci/plugins/structs/describable/DescribableModel.java plugin/src/test/java/org/jenkinsci/plugins/structs/describable/DescribableModelTest.java http://jenkins-ci.org/commit/structs-plugin/3f92f13ace63c04f22c69fadca97b00c5ad5b23f Log: [FIXED JENKINS-44864] Don't report deprecated setters if their values are redundant

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                stephenconnolly Stephen Connolly
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: