`GHDeploymentState` still contains reference to @deprecated javadoc after annotation cleanup
See original GitHub issueDescribe the bug
PR #1184 cleaned up the @Deprecated
annotations for Preview APIs which is great! However, for GHDeploymentState
, the @deprecated
javadoc wasn’t removed, see here:
To Reproduce Steps to reproduce the behavior:
- Use the latest version of this library and have some code like:
var deployment = repo.getDeployment(deploymentId);
deployment.createStatus(state)
.logUrl(logUrl)
.create();
Notice that logUrl
is still marked as deprecated by IntelliJ because of * @deprecated until preview feature has graduated to stable
Expected behavior The javadoc should have been removed at the same time as the annotation so the method isn’t marked as deprecated.
Library version: 1.135
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How and When to Deprecate APIs - Oracle Help Center
Starting with J2SE 5.0, you deprecate a class, method, or field by using the @Deprecated annotation. Additionally, you can use the @deprecated Javadoc...
Read more >[RSPEC-1123] Deprecated elements should have both ... - Jira
Deprecation should be marked with both the @Deprecated annotation and @deprecated Javadoc tag. The annotation enables tools such as IDEs to ...
Read more >Java @Deprecated Annotation - Baeldung
In this quick tutorial, we'll have a look at deprecated APIs in Java and how to use the @Deprecated annotation.
Read more >Java Function Annotation Help, use @Deprecated?
It is certainly possible, however, to display a custom message when the user hovers over the deprecated method. The Javadoc @deprecated tag ...
Read more >(ann) @Deprecated annotation has no effect on packages
JDK-6481080 : (ann) @Deprecated annotation has no effect on packages ... Since @Deprecated has explicitly listed its targets since Java SE 7, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, so I’ll removing the
@deprecated
from the javadoc, correct?Okay, I’ll work on this ASAP.