Skip to content

Deprecated API usages replaced #101

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

Merged
merged 2 commits into from
Aug 31, 2021
Merged

Conversation

offa
Copy link
Contributor

@offa offa commented Jun 11, 2021

Replaces some calls to deprecated methods replaced.

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

Copy link
Member

@basil basil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you like fixing things like this, there are a ton (dozens or hundreds) of tests in Jenkins core that could benefit from conversion of try/fail() to assertThrows. I've been fixing them as I come across them, but there are a lot more still left if you're interested in helping out.

@offa
Copy link
Contributor Author

offa commented Jun 12, 2021

I improve such things when I'm already working on a project (preparing a PR for this one), but haven't worked at core yet. Maybe it's a good starting point though, we'll see …

Thanks for the suggestion.

@offa
Copy link
Contributor Author

offa commented Jul 5, 2021

ping @rsandell

@rsandell rsandell added the chore label Aug 27, 2021
@rsandell rsandell merged commit 11eeae7 into jenkinsci:master Aug 31, 2021
@offa offa deleted the deprecated_api_usage branch August 31, 2021 13:52
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.

4 participants