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

Adding annotations on public APIs #83

Merged
merged 4 commits into from
Jan 12, 2023
Merged

Conversation

emdobrin
Copy link
Contributor

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

prudrabhat
prudrabhat previously approved these changes Jan 12, 2023
@prudrabhat prudrabhat dismissed their stale review January 12, 2023 19:22

Pending question. Requested clarification on a test.

@codecov
Copy link

codecov bot commented Jan 12, 2023

Codecov Report

Merging #83 (654a919) into dev-v2.0.0 (be93222) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@              Coverage Diff               @@
##           dev-v2.0.0      #83      +/-   ##
==============================================
- Coverage       93.32%   93.30%   -0.02%     
==============================================
  Files              12       12              
  Lines             674      672       -2     
  Branches          103      103              
==============================================
- Hits              629      627       -2     
  Misses             16       16              
  Partials           29       29              
Flag Coverage Δ
functional-tests 68.75% <0.00%> (+0.50%) ⬆️
unit-tests 93.01% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...keting/mobile/edge/identity/IdentityExtension.java 99.15% <ø> (ø)
...adobe/marketing/mobile/edge/identity/Identity.java 91.89% <100.00%> (-0.14%) ⬇️

*/
@Deprecated
@SuppressWarnings("deprecation")
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we suppressing warnings here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it shows a warning in the IDE when using the registerExtension API so it suppresses that, but you would still see the deprecation message on the API itself

Copy link
Contributor

@timkimadobe timkimadobe left a comment

Choose a reason for hiding this comment

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

Looks great!

@emdobrin emdobrin merged commit 30c9650 into adobe:dev-v2.0.0 Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants