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

Small improvements in google api client file #122

Conversation

joninvski
Copy link

@joninvski joninvski commented Sep 25, 2024

No functionality change.

I am adding another functionality, and while doing that, i took the opportunity to get rid of the warnings that were showing up in the generated file.

This commit performs two main tasks:

1. Removes unused imports from the ApiClient.

2. Cleans up conditional imports. This was done for three instances
where imports were unnecessarily being loaded under certain conditions.
There might be more instances which can be cleaned up in the future.
Removal of unused attributes in ApiClient
Add generic type information to various methods and parameters.
This change cleans up warnings (and slightly improves readability as
makes intention clearer)
Instead of using the fully qualified name
'java.security.cert.X509Certificate' every time, use 'X509Certificate'
directly in the code.
@dvacca-onfido
Copy link
Contributor

@joninvski as discussed let's close this PR since the benefit is quite small and the effort for keeping these changes in the template is important

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.

2 participants