mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Remove unnecessary Boolean boxing/unboxing
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173443024
This commit is contained in:
parent
c24d5b8a88
commit
3a0c84e0ee
1 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ final class RegistrarContactCommand extends MutatingCommand {
|
|||
break;
|
||||
case CREATE:
|
||||
stageEntityChange(null, createContact(registrar));
|
||||
if ((visibleInDomainWhoisAsAbuse != null) && visibleInDomainWhoisAsAbuse.booleanValue()) {
|
||||
if ((visibleInDomainWhoisAsAbuse != null) && visibleInDomainWhoisAsAbuse) {
|
||||
unsetOtherWhoisAbuseFlags(contacts, null /* emailAddressNotToChange */ );
|
||||
}
|
||||
break;
|
||||
|
@ -201,7 +201,7 @@ final class RegistrarContactCommand extends MutatingCommand {
|
|||
"Cannot clear visible_in_domain_whois_as_abuse flag, as that would leave no domain"
|
||||
+ " WHOIS abuse contacts; instead, set the flag on another contact");
|
||||
stageEntityChange(oldContact, newContact);
|
||||
if ((visibleInDomainWhoisAsAbuse != null) && visibleInDomainWhoisAsAbuse.booleanValue()) {
|
||||
if ((visibleInDomainWhoisAsAbuse != null) && visibleInDomainWhoisAsAbuse) {
|
||||
unsetOtherWhoisAbuseFlags(contacts, oldContact.getEmailAddress());
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue