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:
Dave Borowitz
2015-05-07 14:13:07 -07:00
parent 444a3e6aae
commit 956b9cf4fd
9 changed files with 21 additions and 21 deletions

View File

@@ -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);