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

Annotate deprecated class to silence compiler warning #292

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

MarkEWaite
Copy link
Contributor

Annotate deprecated class to silence compiler warning

dd31672 deprecated the class in 2012 with a Javadoc comment. Add the @Deprecated annotation to silence the Java compiler warning that a deprecated class does not have the @Deprecated annotation.

Testing done

Confirmed the compiler warning message no longer appears when the annotation is added.

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
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

dd31672 deprecated the class in 2012
with a Javadoc comment.  Add the `@Deprecated` annotation to silence
the Java compiler warning that a deprecated class does not have the
`@Deprecated` annotation.
@MarkEWaite MarkEWaite requested a review from a team as a code owner September 16, 2023 10:48
@MarkEWaite MarkEWaite changed the title Annotate deprecated class to silence compiler warning Silence compiler warning by annotating a deprecated class Sep 17, 2023
@MarkEWaite MarkEWaite changed the title Silence compiler warning by annotating a deprecated class Annotate deprecated class to silence compiler warning Sep 17, 2023
@alecharp alecharp added this pull request to the merge queue Sep 18, 2023
Merged via the queue into jenkinsci:master with commit 689a0b9 Sep 18, 2023
14 checks passed
@MarkEWaite MarkEWaite deleted the annotate-deprecated-class branch September 18, 2023 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants