Repository navigation
Remove @Deprecated annotation from Preview and BetaApi elements - #1184
Merged
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1184 +/- ##
=========================================
Coverage 73.82% 73.82%
Complexity 1856 1856
=========================================
Files 186 186
Lines 6163 6163
Branches 367 367
=========================================
Hits 4550 4550
Misses 1392 1392
Partials 221 221
Continue to review full report at Codecov.
|
timja
approved these changes
Jun 15, 2021
| assertThat(classFiles.size(), greaterThan(0)); | ||
| } | ||
|
|
||
| @Ignore("No longer using deprecated for this purpose") |
Collaborator
There was a problem hiding this comment.
is there a reason you aren't removing the test?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The use of
@Deprecatedannotations to onPreviewandBetaApielements is a continuing source of confusion for users. While it is important to maintain compatibility and communicate the "Preview" state to users, the@Deprecatedannotation is simply not the right way to do it.This change removes all the
@Deprecatedannotations for that scenario. After this change, all methods marked as@Deprecatedwill actually be deprecated and will eventually be removed.Fixes #1003
@gsmet @yeikel
Before submitting a PR:
We love getting PRs, but we hate asking people for the same basic changes every time.
main. Create your PR from that branch.mvn -D enable-ci clean install sitelocally. If this command doesn't succeed, your change will not pass CI.When creating a PR: