Skip to content

api: Fix javadoc reference to deprecated method - #6894

Merged
creamsoup merged 1 commit into
grpc:masterfrom
ST-DDT:patch-1
Apr 2, 2020
Merged

api: Fix javadoc reference to deprecated method#6894
creamsoup merged 1 commit into
grpc:masterfrom
ST-DDT:patch-1

Conversation

@ST-DDT

@ST-DDT ST-DDT commented Apr 2, 2020

Copy link
Copy Markdown
Contributor

Updates the ManagedChannelBuilder#nameResolverFactory()'s javadocs to refer to the new NameResolverRegistry instead of the deprecated NameResolverProvider#providers() method.

This is also closer to the truth for the default implementations:

if (resolverFactory != null) {
this.nameResolverFactory = resolverFactory;
} else {
this.nameResolverFactory = nameResolverRegistry.asFactory();
}

Updates the `ManagedChannelBuilder#nameResolverFactory()`'s javadocs to refer to the new `NameResolverRegistry` instead of the deprecated `NameResolverProvider#providers()` method.
@creamsoup creamsoup added kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary labels Apr 2, 2020
@grpc-kokoro grpc-kokoro removed kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary labels Apr 2, 2020
@creamsoup
creamsoup merged commit c89bf49 into grpc:master Apr 2, 2020
@creamsoup

Copy link
Copy Markdown
Contributor

merged, thanks @ST-DDT

@ST-DDT
ST-DDT deleted the patch-1 branch April 3, 2020 17:03
dfawley pushed a commit to dfawley/grpc-java that referenced this pull request Jan 15, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants