Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark older fields as deprecated and migrate callers to non-deprecated equivalents #247

Merged
merged 1 commit into from
Oct 24, 2020

Conversation

basil
Copy link
Member

@basil basil commented Oct 24, 2020

A number of fields were moved from ExtendedEmailPublisherDescriptor to MailAccount at some point in the past. Most of the original getters and setters were then deprecated, but not all of them were. This change deprecates all of the original getters and setters and then updates any remaining callers to call the non-deprecated versions from MailAccount.

While I was here, I noticed that all references to ExtendedEmailPublisherDescriptor#overrideGlobalSettings were removed when JCasC support was added. This means we can drop overrideGlobalSettings from the serialized XML, so I've added the transient keyword to that field and deprecated its getter.

@basil basil added the internal label Oct 24, 2020
@basil basil merged commit d11526b into jenkinsci:master Oct 24, 2020
@basil basil deleted the deprecated branch November 1, 2020 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant