public void updateComment ( int commentId , CommentUpdate comment ) { getResourceFactory ( ) . getApiResource ( "/comment/" + commentId ) . entity ( comment , MediaType . APPLICATION_JSON_TYPE ) . put ( ) ; }
Updates an already created comment . This should only be used to correct spelling and grammatical mistakes in the comment .