List<GraphCommit<String>> (@NotNull String input) { List<GraphCommit<String>> vcsCommitParents = new ArrayList<>(); for (String line : toLines(input)) { vcsCommitParents.add(CommitParser.parseCommitParentsAsString(line)); } return vcsCommitParents; }