Make host update helper functions private

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135011679
This commit is contained in:
mcilwain 2016-10-03 12:22:29 -07:00 committed by Ben McIlwain
parent adced3a5bc
commit dfb4888834

View file

@ -190,7 +190,7 @@ public final class HostUpdateFlow extends LoggedInFlow implements TransactionalF
verifyNoDisallowedStatuses(existingResource, DISALLOWED_STATUSES); verifyNoDisallowedStatuses(existingResource, DISALLOWED_STATUSES);
} }
void verifyHasIpsIffIsExternal( private void verifyHasIpsIffIsExternal(
Update command, HostResource existingResource, HostResource newResource) throws EppException { Update command, HostResource existingResource, HostResource newResource) throws EppException {
boolean wasExternal = existingResource.getSuperordinateDomain() == null; boolean wasExternal = existingResource.getSuperordinateDomain() == null;
boolean wasSubordinate = !wasExternal; boolean wasSubordinate = !wasExternal;
@ -215,7 +215,7 @@ public final class HostUpdateFlow extends LoggedInFlow implements TransactionalF
} }
} }
public void enqueueTasks(HostResource existingResource, HostResource newResource) { private void enqueueTasks(HostResource existingResource, HostResource newResource) {
// Only update DNS for subordinate hosts. External hosts have no glue to write, so they // Only update DNS for subordinate hosts. External hosts have no glue to write, so they
// are only written as NS records from the referencing domain. // are only written as NS records from the referencing domain.
if (existingResource.getSuperordinateDomain() != null) { if (existingResource.getSuperordinateDomain() != null) {