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 and forbid use of several com.google.common.util. classes #13524

Merged
merged 1 commit into from Sep 11, 2015

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Sep 11, 2015

This commit replaces:

  • com.google.common.util.concurrent.ListenableFuture
  • com.google.common.util.concurrent.SettableFuture
  • com.google.common.util.concurrent.Futures
  • com.google.common.util.concurrent.MoreExecutors

And forbids its usage via forbidden APIs. This is one of
many steps in the eventual removal of Guava as a dependency.

Relates to #13224

@nik9000
Copy link
Member

nik9000 commented Sep 11, 2015

I like it!

com.google.common.util.concurrent.ListenableFuture
com.google.common.util.concurrent.SettableFuture
com.google.common.util.concurrent.Futures
com.google.common.util.concurrent.MoreExecutors
Copy link
Member

Choose a reason for hiding this comment

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

Can you move these to dev-tools/src/main/resources/forbidden/all-signatures.txt as in #13523?

This commit replaces:
 * com.google.common.util.concurrent.ListenableFuture
 * com.google.common.util.concurrent.SettableFuture
 * com.google.common.util.concurrent.Futures
 * com.google.common.util.concurrent.MoreExecutors

And forbits its usage via forbidden APIs. This is one of
many steps in the eventual removal of Guava as a dependency.

Relates to elastic#13224
@s1monw
Copy link
Contributor Author

s1monw commented Sep 11, 2015

rebased with master

@s1monw s1monw removed the v2.1.0 label Sep 11, 2015
@jasontedor jasontedor mentioned this pull request Sep 11, 2015
72 tasks
@jasontedor
Copy link
Member

LGTM.

@s1monw s1monw merged commit 7b0f086 into elastic:master Sep 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants