8000 modify obsolete statement. · rmehta19/sdk-platform-java@2f70bf8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f70bf8

Browse files
committed
modify obsolete statement.
1 parent 4ee2ee9 commit 2f70bf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gax-java/gax/src/main/java/com/google/api/gax/rpc/TransportChannelProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ public interface TransportChannelProvider {
8989
TransportChannelProvider withHeaders(Map<String, String> headers);
9090

9191
/** True if the TransportProvider has no endpoint set. */
92-
@ObsoleteApi("Use endpointContext.resolvedEndpoint() instead")
92+
@ObsoleteApi("Endpoint should be configured set in the ClientSettings")
9393
boolean needsEndpoint();
9494

9595
/**
9696
* Sets the endpoint to use when constructing a new {@link TransportChannel}.
9797
*
9898
* <p>This method should only be called if {@link #needsEndpoint()} returns true.
9999
*/
100-
@ObsoleteApi("Use endpointContext.resolvedEndpoint() instead")
100+
@ObsoleteApi("Endpoint should be configured set in the ClientSettings")
101101
TransportChannelProvider withEndpoint(String endpoint);
102102

103103
/** Sets the {@link EndpointContext} when constructing a new {@link TransportChannel}. */

0 commit comments

Comments
 (0)
0