Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reusing existing ObjectMapper in RestJsonClient.
Don't create new ObjectMapper's - one is sufficient. ObjectMapper.readValue can use an InputStream directly, no need to convert to String first.
- Loading branch information
5052e7c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good change. I would also remove the now-unused convertStreamToString method.