gerritUtil.getComments(changeDetails.id, selectedRevisions.get(changeDetails), project, false, true,
new Consumer<Map<String, List<CommentInfo>>>() {
@Override
public void consume(Map<String, List<CommentInfo>> draftComments) {
final ReviewInput reviewInput = new ReviewInput();
reviewInput.label(label, rating);
for (Map.Entry<String, List<CommentInfo>> entry : draftComments.entrySet()) {
for (CommentInfo commentInfo : entry.getValue()) {
addComment(reviewInput, entry.getKey(), commentInfo);
}