mirror of
https://github.com/google/nomulus
synced 2026-01-06 21:47:31 +00:00
Fix else if on separate line causing compilation warning (#1715)
This commit is contained in:
@@ -206,9 +206,8 @@ public final class PublishDnsUpdatesAction implements Runnable, Callable<Void> {
|
||||
// Enqueue the single domain and single host separately
|
||||
enqueue(ImmutableList.copyOf(domains), ImmutableList.of());
|
||||
enqueue(ImmutableList.of(), ImmutableList.copyOf(hosts));
|
||||
}
|
||||
// If the batch only contains 1 name, allow it more retries
|
||||
else if (retryCount < RETRIES_BEFORE_PERMANENT_FAILURE) {
|
||||
} else if (retryCount < RETRIES_BEFORE_PERMANENT_FAILURE) {
|
||||
// If the batch only contains 1 name, allow it more retries
|
||||
throw e;
|
||||
}
|
||||
// If we get here, we should terminate this task as it is likely a perpetually failing task.
|
||||
|
||||
Reference in New Issue
Block a user