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

change scope for jetbrains annotations to provided #456

Merged

Conversation

deki
Copy link

@deki deki commented Oct 26, 2023

Description of changes:
We should avoid we introduce a particular annotation library into the dependency of users of the library. There are a lot of libraries out there and users may have a different preference. I've changed the scope to provided according to the docs https://github.com/JetBrains/java-annotations#using-the-annotations.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@msailes
Copy link
Collaborator

msailes commented Oct 26, 2023

Instead of the annotations we could have these attribute be Optional. What do you think about that instead?

@deki
Copy link
Author

deki commented Oct 27, 2023

Not sure https://stackoverflow.com/questions/26327957/should-java-8-getters-return-optional-type/26328555#26328555

@msailes msailes self-requested a review October 30, 2023 10:14
Copy link
Collaborator

@msailes msailes left a comment

Choose a reason for hiding this comment

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

Looks good to me

@smirnoal smirnoal merged commit a03398e into aws:events-v4-serialization-v2 Nov 7, 2023
1 check passed
@smirnoal
Copy link
Contributor

smirnoal commented Nov 7, 2023

thanks Dennis

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.

3 participants