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

Remove usages of com.google.common.base.Objects#firstNonNull #249

Closed
wants to merge 1 commit into from

Conversation

basil
Copy link
Member

@basil basil commented May 9, 2021

com.google.common.base.Objects#firstNonNull has been removed in recent versions of Guava, so consuming this API is a liability. This PR replaces usages of com.google.common.base.Objects#firstNonNull with native Java functionality to allow this plugin to be used seamlessly with any version of Guava in the future.

@KostyaSha
Copy link
Member

could you make it in Utils as static helper?

@basil
Copy link
Member Author

basil commented May 12, 2021

This patch, as-is, is all I can offer at the moment. Feel free to modify it if you would like or to close it otherwise.

@basil basil closed this Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants