Change rotatePrimaryCert type to primitive boolean (#3205)

Change the rotatePrimaryCert field in CreateOrUpdateRegistrarCommand
from object Boolean to primitive boolean. Since the field is initialized
to default false and used as a presence-based switch without tri-state
semantics, primitive boolean accurately reflects its behavior and avoids
unnecessary object wrapper overhead.

BUG= http://b/537308816
This commit is contained in:
Ben McIlwain
2026-08-10 22:03:26 +00:00
committed by GitHub
parent 76bd13ddf0
commit 575192016f
@@ -138,7 +138,7 @@ abstract class CreateOrUpdateRegistrarCommand extends MutatingCommand {
description =
"Used together with --cert_file when updating an registrar. "
+ "If set, current cert is saved as failover.")
private Boolean rotatePrimaryCert = Boolean.FALSE;
private boolean rotatePrimaryCert = false;
@Nullable
@Parameter(