Skip to content

Commit 1e0928f

Browse files
Juneezeeejona86
authored andcommitted
api: fix javadoc of CallCredentials.applyRequestMetadata
It is the `Executor appExecutor` that should be given an asynchronous task, not `CallCredentials.MetadataApplier applier`. Signed-off-by: Eng Zer Jun <[email protected]>
1 parent 23ebf36 commit 1e0928f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/io/grpc/CallCredentials.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public abstract class CallCredentials {
4343
* <p>It is called for each individual RPC, within the {@link Context} of the call, before the
4444
* stream is about to be created on a transport. Implementations should not block in this
4545
* method. If metadata is not immediately available, e.g., needs to be fetched from network, the
46-
* implementation may give the {@code applier} to an asynchronous task which will eventually call
46+
* implementation may give the {@code appExecutor} an asynchronous task which will eventually call
4747
* the {@code applier}. The RPC proceeds only after the {@code applier} is called.
4848
*
4949
* @param requestInfo request-related information

0 commit comments

Comments
 (0)