GitHub user karuturi opened a pull request:
https://github.com/apache/cloudstack/pull/764
Fix findbugs issue: 76, DM_DEFAULT_ENCODING, Priority: High
ex.printStacktrace prints to System.err by default. Used it and removed
the printwriter which was causing the findbugs issue.
Also, I do not see a reason to write the stacktrace both to stdout and
stderr. But, keeping it as is for now
This fixes the findbugs issues which is reported as new in
http://jenkins.buildacloud.org/job/build-master-slowbuild/2191/findbugsResult/new/
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/karuturi/cloudstack findbugs-cglib
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/764.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 #764
----
commit 398bbf46de391d95164b5ffec4cd2593dcb6608e
Author: Rajani Karuturi <[email protected]>
Date: 2015-08-31T09:36:16Z
Fix findbugs issue: 76, DM_DEFAULT_ENCODING, Priority: High
ex.printStacktrace prints to System.err by default. Used it and removed
the printwriter which was causing the findbugs issue.
Also, I do not see a reason to write the stacktrace both to stdout and
stderr. But, keeping it as is for now
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---