// ////////////////////////////////////////////////////////////////////////////////////
  // / INTERNAL
  // ////////////////////////////////////////////////////////////////////////////////////
  @SuppressWarnings("unchecked")
  /** {@inheritDoc} */
  protected PagingResult<Comment> computeComment(UrlBuilder url) {
    // read and parse
    HttpUtils.Response resp = read(url, ErrorCodeRegistry.COMMENT_GENERIC);
    PublicAPIResponse response = new PublicAPIResponse(resp);

    List<Comment> result = new ArrayList<Comment>();
    Map<String, Object> data = null;
    for (Object entry : response.getEntries()) {
      data = (Map<String, Object>) ((Map<String, Object>) entry).get(CloudConstant.ENTRY_VALUE);
      result.add(CommentImpl.parsePublicAPIJson(data));
    }

    return new PagingResultImpl<Comment>(result, response.getHasMoreItems(), response.getSize());
  }
 @SuppressWarnings("unchecked")
 /** {@inheritDoc} */
 protected Comment parseData(Map<String, Object> json) {
   return CommentImpl.parsePublicAPIJson(
       (Map<String, Object>) json.get(CloudConstant.ENTRY_VALUE));
 }