mirror of
https://github.com/google/nomulus
synced 2026-03-27 12:55:28 +00:00
Rename buildHistory() methods to buildHistoryEntry()
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=165707934
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user