mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +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
|
@ -267,7 +267,8 @@ public final class DomainApplicationCreateFlow implements TransactionalFlow {
|
|||
}})
|
||||
.toList())
|
||||
.build();
|
||||
HistoryEntry historyEntry = buildHistory(newApplication.getRepoId(), command.getPeriod(), now);
|
||||
HistoryEntry historyEntry =
|
||||
buildHistoryEntry(newApplication.getRepoId(), command.getPeriod(), now);
|
||||
ImmutableSet.Builder<ImmutableObject> entitiesToSave = new ImmutableSet.Builder<>();
|
||||
entitiesToSave.add(
|
||||
newApplication,
|
||||
|
@ -364,7 +365,7 @@ public final class DomainApplicationCreateFlow implements TransactionalFlow {
|
|||
}
|
||||
}
|
||||
|
||||
private HistoryEntry buildHistory(String repoId, Period period, DateTime now) {
|
||||
private HistoryEntry buildHistoryEntry(String repoId, Period period, DateTime now) {
|
||||
return historyBuilder
|
||||
.setType(HistoryEntry.Type.DOMAIN_APPLICATION_CREATE)
|
||||
.setPeriod(period)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue