alts: fix typo (#6113)

This commit is contained in:
康智冬 2019-09-11 05:13:35 +08:00 committed by Eric Anderson
parent 252ca2a7df
commit 415212fc49
4 changed files with 8 additions and 8 deletions

View File

@ -384,7 +384,7 @@ public class AltsProtocolNegotiatorTest {
private CapturingGrpcHttp2ConnectionHandler capturingGrpcHandler() {
// Netty Boilerplate. We don't really need any of this, but there is a tight coupling
// between a Http2ConnectionHandler and its dependencies.
// between an Http2ConnectionHandler and its dependencies.
Http2Connection connection = new DefaultHttp2Connection(true);
Http2FrameWriter frameWriter = new DefaultHttp2FrameWriter();
Http2FrameReader frameReader = new DefaultHttp2FrameReader(false);

View File

@ -111,7 +111,7 @@ public class GrpcSslContexts {
}
/**
* Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
* Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
*
* @see SslContextBuilder#forClient()
* @see #configure(SslContextBuilder)
@ -121,7 +121,7 @@ public class GrpcSslContexts {
}
/**
* Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
* Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
*
* @see SslContextBuilder#forServer(File, File)
* @see #configure(SslContextBuilder)
@ -131,7 +131,7 @@ public class GrpcSslContexts {
}
/**
* Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
* Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
*
* @see SslContextBuilder#forServer(File, File, String)
* @see #configure(SslContextBuilder)
@ -142,7 +142,7 @@ public class GrpcSslContexts {
}
/**
* Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
* Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
*
* @see SslContextBuilder#forServer(InputStream, InputStream)
* @see #configure(SslContextBuilder)
@ -152,7 +152,7 @@ public class GrpcSslContexts {
}
/**
* Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
* Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
*
* @see SslContextBuilder#forServer(InputStream, InputStream, String)
* @see #configure(SslContextBuilder)

View File

@ -1099,7 +1099,7 @@ class OkHttpClientTransport implements ConnectionClientTransport, TransportExcep
}
/**
* Handle a HTTP2 DATA frame.
* Handle an HTTP2 DATA frame.
*/
@Override
public void data(boolean inFinished, int streamId, BufferedSource in, int length)

View File

@ -46,7 +46,7 @@ final class OkHttpTlsUpgrader {
Collections.unmodifiableList(Arrays.asList(Protocol.GRPC_EXP, Protocol.HTTP_2));
/**
* Upgrades given Socket to be a SSLSocket.
* Upgrades given Socket to be an SSLSocket.
*
* @throws IOException if an IO error was encountered during the upgrade handshake.
* @throws RuntimeException if the upgrade negotiation failed.