mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Make host update helper functions private
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135011679
This commit is contained in:
parent
adced3a5bc
commit
dfb4888834
1 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ public final class HostUpdateFlow extends LoggedInFlow implements TransactionalF
|
|||
verifyNoDisallowedStatuses(existingResource, DISALLOWED_STATUSES);
|
||||
}
|
||||
|
||||
void verifyHasIpsIffIsExternal(
|
||||
private void verifyHasIpsIffIsExternal(
|
||||
Update command, HostResource existingResource, HostResource newResource) throws EppException {
|
||||
boolean wasExternal = existingResource.getSuperordinateDomain() == null;
|
||||
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
|
||||
// are only written as NS records from the referencing domain.
|
||||
if (existingResource.getSuperordinateDomain() != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue