GitHub user rsafonseca opened a pull request: https://github.com/apache/cloudstack/pull/394
Fix findbugs encoding issue This is done by calling HttpMethodBase's getResponseBodyAsString() which properly looks up the specified encoding in the request's Content-Type header This also avoids instantiation of two extra strings on the println() and return statements You can merge this pull request into a Git repository by running: $ git pull https://github.com/rsafonseca/cloudstack findbugs10 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/394.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #394 ---- commit 315b75e4ff9d324cde8c4156796ef9e382f60369 Author: Rafael da Fonseca <rsafons...@gmail.com> Date: 2015-06-12T20:07:20Z Fix findbugs encoding issue This is done by calling HttpMethodBase's getResponseBodyAsString() which properly lookup the specified encoding in the request's Content-Type header This also avoids instantiation of two extra strings on the println() and return statements ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---