From dfb4888834c088c0882e76f78ebe8dc268d86700 Mon Sep 17 00:00:00 2001 From: mcilwain Date: Mon, 3 Oct 2016 12:22:29 -0700 Subject: [PATCH] Make host update helper functions private ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135011679 --- java/google/registry/flows/host/HostUpdateFlow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/google/registry/flows/host/HostUpdateFlow.java b/java/google/registry/flows/host/HostUpdateFlow.java index 276aff0e9..f9865ec7a 100644 --- a/java/google/registry/flows/host/HostUpdateFlow.java +++ b/java/google/registry/flows/host/HostUpdateFlow.java @@ -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) {