Rename/inline methods for pseudonymous name generation

This is to clarify when the account ID is used to generate a
pseudonymous name like "Gerrit User 123 <123@abc>", as opposed to using
real name and email.

Change-Id: I10aa31262ac589a42ce0c8273dff5c18fed0d409
This commit is contained in:
Joerg Zieren
2020-05-15 16:50:53 +02:00
parent a96173b036
commit 0bfa9e0585
8 changed files with 43 additions and 36 deletions

View File

@@ -1071,7 +1071,7 @@ public class RefAdvertisementIT extends AbstractDaemonTest {
PersonIdent committer = serverIdent.get();
PersonIdent author =
noteUtil.newIdent(getAccount(admin.id()).id(), committer.getWhen(), committer);
noteUtil.newAccountIdIdent(getAccount(admin.id()).id(), committer.getWhen(), committer);
tr.branch(RefNames.changeMetaRef(cd3.getId()))
.commit()
.author(author)