public List<ReviewCommentResult> listCommentsForReview(String hash){
  List<ReviewCommentResult> comments=new ArrayList<>();
  try {
    Map<String,ReviewComment> commentsData=gitClient.listCommentsForReview(hash);
    for (    Map.Entry<String,ReviewComment> commentData : commentsData.entrySet()) {
      comments.add(new ReviewCommentResult(commentData.getKey(),commentData.getValue()));
    }
  }
 catch (  GitClientException e) {
    AppraiseConnectorPlugin.logError("Error loading domments for " + hash,e);
    return null;
  }
  return comments;
}

public List < ReviewCommentResult > listCommentsForReview ( String hash ) { List < ReviewCommentResult > comments = new ArrayList < > ( ) ; try { Map < String , ReviewComment > commentsData = gitClient . listCommentsForReview ( hash ) ; for ( Map . Entry < String , ReviewComment > commentData : commentsData . entrySet ( ) ) { comments . add ( new ReviewCommentResult ( commentData . getKey ( ) , commentData . getValue ( ) ) ) ; } } catch ( GitClientException e ) { AppraiseConnectorPlugin . logError ( "Error loading domments for " + hash , e ) ; return null ; } return comments ; }
gets all the comments for a specific review by hash .
