List<RecentChange> (RootEntry root) { List<RecentChange> result = new ArrayList<>(); for (ChangeSet c : myChangeList.iterChanges()) { if (c.isContentChangeOnly()) continue; if (c.isLabelOnly()) continue; if (c.getName() == null) continue; Revision before = new ChangeRevision(this, root, "", c, true); Revision after = new ChangeRevision(this, root, "", c, false); result.add(new RecentChange(before, after)); if (result.size() >= 20) break; } return result; }