mirror of
https://github.com/google/nomulus.git
synced 2025-08-15 14:04:06 +02:00
Put else if on same line to fix build style warning (#935)
* Put else if on same line to fix build style warning
This commit is contained in:
parent
fcda5d73de
commit
39e7c6a8e5
1 changed files with 2 additions and 3 deletions
|
@ -134,9 +134,8 @@ public class TlsCredentials implements TransportCredentials {
|
||||||
// used as failover
|
// used as failover
|
||||||
logger.atWarning().log(
|
logger.atWarning().log(
|
||||||
"There is no certificate configured for registrar %s.", registrar.getClientId());
|
"There is no certificate configured for registrar %s.", registrar.getClientId());
|
||||||
}
|
} else if (!clientCertificate.isPresent()) {
|
||||||
// Check that the request included the full certificate
|
// Check that the request included the full certificate
|
||||||
else if (!clientCertificate.isPresent()) {
|
|
||||||
// Log an error and validate using certificate hash instead
|
// Log an error and validate using certificate hash instead
|
||||||
// TODO(sarahbot): throw a MissingRegistrarCertificateException once hash is no longer used as
|
// TODO(sarahbot): throw a MissingRegistrarCertificateException once hash is no longer used as
|
||||||
// failover
|
// failover
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue