mirror of
https://github.com/google/nomulus.git
synced 2025-08-03 00:12:11 +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
|
||||
logger.atWarning().log(
|
||||
"There is no certificate configured for registrar %s.", registrar.getClientId());
|
||||
}
|
||||
// Check that the request included the full certificate
|
||||
else if (!clientCertificate.isPresent()) {
|
||||
} else if (!clientCertificate.isPresent()) {
|
||||
// Check that the request included the full certificate
|
||||
// Log an error and validate using certificate hash instead
|
||||
// TODO(sarahbot): throw a MissingRegistrarCertificateException once hash is no longer used as
|
||||
// failover
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue