String (List<? extends TimedVcsCommit> commits) { StringBuilder s = new StringBuilder(); for (TimedVcsCommit commit : commits) { if (s.length() != 0) { s.append(", "); } s.append(commit.getId().asString()); } return s.toString(); }