List<Change> (@NotNull List<? extends CommitNode> commitNodes) { List<Change> changes = new ArrayList<>(); for (CommitNode node : commitNodes) { changes.addAll(node.getUserObject().getChanges()); } return changes; }