Merge pull request #695 from karuturi/CLOUDSTACK-8669

CLOUDSTACK-8669: create volume failed due to null charsetAdded a new private 
method getCharSetFromConnection() which checks if
the connection charset is null and if it is null, returns
StringUtils.getPreferredCharset

regression caused by commit f03411ca0436c8b52f5e60b0c8820fd1d1ba2ff6

* pr/695:
  CLOUDSTACK-8669: create volume failed due to null charset
  CLOUDSTACK-8669: making StringUtils.getDefaultCharset protected

Signed-off-by: Remi Bergsma <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9c7e81e7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9c7e81e7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9c7e81e7

Branch: refs/heads/master
Commit: 9c7e81e7489cdb2b9a8d2d18357070a39a595d47
Parents: b407c52 c180a6d
Author: Remi Bergsma <[email protected]>
Authored: Mon Aug 17 13:54:53 2015 +0200
Committer: Remi Bergsma <[email protected]>
Committed: Mon Aug 17 13:54:54 2015 +0200

----------------------------------------------------------------------
 utils/src/com/cloud/utils/StringUtils.java      |  2 +-
 .../hypervisor/vmware/util/VmwareContext.java   | 20 +++++++--
 .../vmware/util/VmwareContextTest.java          | 47 ++++++++++++++++++++
 3 files changed, 65 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


Reply via email to