public List<CommentData> GetStatusComments(String statusID, int mount) { try { List<Comment> status = cm.getCommentById(statusID).getComments(); List<CommentData> statusDatas = new ArrayList<CommentData>() {}; for (Comment status2 : status) { statusDatas.add(DataConverter.ConvertFrom(status2)); } return statusDatas; } catch (Exception e) { // TODO: handle exception return new ArrayList<CommentData>(); } }