ChangeData: Rename patches to patch sets
These are different things, and ChangeData is using PatchSets rather than Patches in this case. Change-Id: I42d4611b34c9cefc487833bfe50c0b209b131d70
This commit is contained in:
@@ -142,7 +142,7 @@ public class ApprovalCopier {
|
||||
|
||||
private static TreeMap<Integer, PatchSet> getPatchSets(ChangeData cd)
|
||||
throws OrmException {
|
||||
Collection<PatchSet> patchSets = cd.patches();
|
||||
Collection<PatchSet> patchSets = cd.patchSets();
|
||||
TreeMap<Integer, PatchSet> result = Maps.newTreeMap();
|
||||
for (PatchSet ps : patchSets) {
|
||||
result.put(ps.getId().get(), ps);
|
||||
|
Reference in New Issue
Block a user