Skip to content

fix ClientOverrideConfiguration.Builder empty headers throwing NPE #4726

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
merged 6 commits into from
Dec 1, 2023

Conversation

L-Applin
Copy link
Contributor

the headers() method returns an unmodifiableMapOfLists which assumes the map it delegates to is not null. But config.option(ADDITIONAL_HTTP_HEADERS) returns null if the config is not set.

@L-Applin L-Applin requested a review from a team as a code owner November 30, 2023 17:56
L-Applin and others added 2 commits November 30, 2023 13:35
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@L-Applin L-Applin merged commit 6b65ab4 into master Dec 1, 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.

3 participants