Rename buildHistory() methods to buildHistoryEntry()

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=165707934
This commit is contained in:
mcilwain
2017-08-29 16:38:39 -04:00
committed by Ben McIlwain
parent dedabfb076
commit fcb554947c
6 changed files with 16 additions and 14 deletions
@@ -138,7 +138,7 @@ public final class DomainRestoreRequestFlow implements TransactionalFlow {
FeeUpdateCommandExtension feeUpdate =
eppInput.getSingleExtension(FeeUpdateCommandExtension.class);
verifyRestoreAllowed(command, existingDomain, feeUpdate, feesAndCredits, now);
HistoryEntry historyEntry = buildHistory(existingDomain, now);
HistoryEntry historyEntry = buildHistoryEntry(existingDomain, now);
ImmutableSet.Builder<ImmutableObject> entitiesToSave = new ImmutableSet.Builder<>();
entitiesToSave.addAll(
createRestoreAndRenewBillingEvents(
@@ -172,7 +172,7 @@ public final class DomainRestoreRequestFlow implements TransactionalFlow {
.build();
}
private HistoryEntry buildHistory(DomainResource existingDomain, DateTime now) {
private HistoryEntry buildHistoryEntry(DomainResource existingDomain, DateTime now) {
DomainTransactionRecord transactionRecord =
new DomainTransactionRecord.Builder()
.setTld(existingDomain.getTld())