Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enabled NullAway for oauth, proxy and resolver packages #1876

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

Merged
hyperxpro merged 1 commit into AsyncHttpClient:main from Asapin:oauth
May 6, 2023
Merged

Enabled NullAway for oauth, proxy and resolver packages #1876

hyperxpro merged 1 commit into AsyncHttpClient:main from Asapin:oauth
May 6, 2023

Conversation

@Asapin
Copy link
Contributor

@Asapin Asapin commented May 5, 2023

No description provided.

-Xep:NullOptional:ERROR
-XepExcludedPaths:.*/src/test/java/.*
-XepOpt:NullAway:AnnotatedPackages=org.asynchttpclient.channel,org.asynchttpclient.config,org.asynchttpclient.cookie,org.asynchttpclient.exception,org.asynchttpclient.filter
-XepOpt:NullAway:AnnotatedPackages=org.asynchttpclient.channel,org.asynchttpclient.config,org.asynchttpclient.cookie,org.asynchttpclient.exception,org.asynchttpclient.filter,org.asynchttpclient.oauth,org.asynchttpclient.proxy,org.asynchttpclient.resolver
Copy link
Member

@hyperxpro hyperxpro May 5, 2023

Choose a reason for hiding this comment

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

Let's break lines

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unfortunately breaking lines will break everything - I guess NullAway expects this XepOpt:NullAway:AnnotatedPackages parameter to be a single line without any breaks.
We can invert this parameter, i.e. instead of include only these packages we can have include all packages except the following. And I intend to eventually do that. But this requires fixing classes in the root org.asynchttpclient package first

Copy link
Member

@hyperxpro hyperxpro May 5, 2023

Choose a reason for hiding this comment

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

Alright, let's keep it then.

Copy link
Member

Let me know once ready to merge.

Copy link
Member

@Asapin Ping...

Copy link
Contributor Author

Asapin commented May 6, 2023

I'm currently working on enabling NullAway for the root org.asynchttpclient package, and there are quite a lot of changes (13 files at the moment), so maybe it's better to merge this PR as is?

hyperxpro reacted with thumbs up emoji

@hyperxpro hyperxpro merged commit b7328f9 into AsyncHttpClient:main May 6, 2023
@Asapin Asapin deleted the oauth branch May 6, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hyperxpro hyperxpro hyperxpro left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /