Skip to content

Commit

Permalink
api: small review fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
ejona86 committed Nov 12, 2020
1 parent 339ee8b commit ef112c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/src/main/java/io/grpc/TlsServerCredentials.java
Expand Up @@ -76,7 +76,7 @@ public byte[] getCertificateChain() {

/**
* The private key, as a new byte array. Generally should be in PKCS#8 format. If encrypted,
* {@link #getPrivateKeyPassword} is the decryption key. If unencrypted, the password must be
* {@link #getPrivateKeyPassword} is the decryption key. If unencrypted, the password will be
* {@code null}.
*/
public byte[] getPrivateKey() {
Expand Down
2 changes: 1 addition & 1 deletion api/src/test/java/io/grpc/ManagedChannelRegistryTest.java
Expand Up @@ -30,7 +30,7 @@ public class ManagedChannelRegistryTest {
private ChannelCredentials creds = new ChannelCredentials() {};

@Test
public void register_unavilableProviderThrows() {
public void register_unavailableProviderThrows() {
ManagedChannelRegistry reg = new ManagedChannelRegistry();
try {
reg.register(new BaseProvider(false, 5));
Expand Down
2 changes: 1 addition & 1 deletion api/src/test/java/io/grpc/ServerRegistryTest.java
Expand Up @@ -30,7 +30,7 @@ public class ServerRegistryTest {
private ServerCredentials creds = new ServerCredentials() {};

@Test
public void register_unavilableProviderThrows() {
public void register_unavailableProviderThrows() {
ServerRegistry reg = new ServerRegistry();
try {
reg.register(new BaseProvider(false, 5));
Expand Down

0 comments on commit ef112c9

Please sign in to comment.