Convert PatchSet.Id to AutoValue

See I6982fb24 for context.

Change-Id: I681421e2e3415125dc4db44c7f3bf32d37920166
This commit is contained in:
Dave Borowitz
2019-04-19 08:44:05 -07:00
parent 245af2a3f8
commit 766a93d2a0
86 changed files with 235 additions and 259 deletions

View File

@@ -178,9 +178,7 @@ public class RebaseChangeOp implements BatchUpdateOp {
rebasedPatchSetId =
ChangeUtil.nextPatchSetIdFromChangeRefs(
ctx.getRepoView()
.getRefs(originalPatchSet.getId().getParentKey().toRefPrefix())
.keySet(),
ctx.getRepoView().getRefs(originalPatchSet.getId().changeId().toRefPrefix()).keySet(),
notes.getChange().currentPatchSetId());
patchSetInserter =
patchSetInserterFactory