mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Rename buildHistory() methods to buildHistoryEntry()
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=165707934
This commit is contained in:
parent
dedabfb076
commit
fcb554947c
6 changed files with 16 additions and 14 deletions
|
@ -163,7 +163,7 @@ public class DomainApplicationUpdateFlow implements TransactionalFlow {
|
|||
verifyNoDisallowedStatuses(existingApplication, UPDATE_DISALLOWED_STATUSES);
|
||||
verifyOptionalAuthInfo(authInfo, existingApplication);
|
||||
verifyUpdateAllowed(existingApplication, command, now);
|
||||
HistoryEntry historyEntry = buildHistory(existingApplication, now);
|
||||
HistoryEntry historyEntry = buildHistoryEntry(existingApplication, now);
|
||||
DomainApplication newApplication = updateApplication(existingApplication, command, now);
|
||||
validateNewApplication(newApplication);
|
||||
ofy().save().<ImmutableObject>entities(newApplication, historyEntry);
|
||||
|
@ -215,7 +215,7 @@ public class DomainApplicationUpdateFlow implements TransactionalFlow {
|
|||
domainName, nullToEmpty(add.getNameserverFullyQualifiedHostNames()));
|
||||
}
|
||||
|
||||
private HistoryEntry buildHistory(DomainApplication existingApplication, DateTime now) {
|
||||
private HistoryEntry buildHistoryEntry(DomainApplication existingApplication, DateTime now) {
|
||||
return historyBuilder
|
||||
.setType(HistoryEntry.Type.DOMAIN_APPLICATION_UPDATE)
|
||||
.setModificationTime(now)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue