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

Use spotbugs annotations instead of javax #278

Merged
merged 4 commits into from
Jul 19, 2024

Conversation

MarkEWaite
Copy link

@MarkEWaite MarkEWaite commented Mar 23, 2024

Use spotbugs annotations instead of javax

The spotbugs annotations are actively maintained while the javax annotations are unmaintained.

The spotbugs annotations were already used in some of the files. This changes uses spotbugs annotations in all cases. This is covered in the "Improve a plugin" tutorial.

Also removes unused exclusions from the pom file.

Testing done

Confirmed that code compiles on Java 21. Rely on ci.jenkins.io to test multiple platforms and Java versions.

Submitter checklist

  • 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

The spotbugs annotations are actively maintained while the javax
annotations are unmaintained.

The spotbugs annotations were already used in some of the files.
This changes uses spotbugs annotations in all cases.
@alecharp alecharp added the chore label Jul 19, 2024
@alecharp alecharp enabled auto-merge July 19, 2024 13:20
@alecharp alecharp added this pull request to the merge queue Jul 19, 2024
Merged via the queue into jenkinsci:master with commit 602247c Jul 19, 2024
15 checks passed
@MarkEWaite MarkEWaite deleted the use-spotbugs-annotations branch July 19, 2024 14:25
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.

2 participants