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

fix(java): catch null exception for ClientOptions APIC-537 #703

Merged
merged 4 commits into from
Jun 17, 2022

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Jun 15, 2022

🧭 What and Why

🎟 JIRA Ticket: APIC-537

We never check the constructor without the ClientOptions parameters in our tests, I don't really know how to add it without making a custom test for it.

We now check for null before accessing it and I switched back to new to be consistant with the rest.

🧪 Test

Don't use the ClientOptions and 👁️

@millotp millotp requested a review from a team June 15, 2022 16:43
@millotp millotp self-assigned this Jun 15, 2022
@millotp millotp requested review from damcou and shortcuts and removed request for a team June 15, 2022 16:43
@netlify
Copy link

netlify bot commented Jun 15, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit ff568fc
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/62ab04386b4fbf0008a11ab4

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jun 15, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

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

seems correct :)

@millotp millotp merged commit 762836b into main Jun 17, 2022
@millotp millotp deleted the fix/java-client-options branch June 17, 2022 07:10
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