code: public void deleteComment(String commentId) throws FlickrException {
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_DELETE_COMMENT);
  
          parameters.put("comment_id", commentId);
  
          // Note: This method requires an HTTP POST request.
          Response response = transportAPI.post(transportAPI.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
          // This method has no specific response - It returns an empty
          // sucess response if it completes without error.
      }
docs: Delete a comment as the currently authenticated user.
  
  This method requires authentication with 'write' permission.
  
  @param commentId
  The id of the comment to delete.
  @throws FlickrException