cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [09/13] git commit: updated refs/heads/master to 967da97
Date Mon, 15 Jun 2015 09:06:59 GMT
Fix findbugs encoding warning ESX responses should be encoded in UTF-8

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #406


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

Branch: refs/heads/master
Commit: dc64c7e84315f89977bcff432c37cc6a9a746482
Parents: f03411c
Author: Rafael da Fonseca <rsafonseca@gmail.com>
Authored: Sun Jun 14 12:34:39 2015 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Mon Jun 15 12:05:30 2015 +0300

----------------------------------------------------------------------
 .../src/com/cloud/hypervisor/vmware/util/VmwareContext.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/dc64c7e8/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContext.java
----------------------------------------------------------------------
diff --git a/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContext.java b/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContext.java
index 9992e0a..3e9c890 100644
--- a/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContext.java
+++ b/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContext.java
@@ -550,7 +550,7 @@ public class VmwareContext {
      */
     public String[] listDatastoreDirContent(String urlString) throws Exception {
         List<String> fileList = new ArrayList<String>();
-        String content = new String(getResourceContent(urlString));
+        String content = new String(getResourceContent(urlString),"UTF-8");
         String marker = "</a></td><td ";
         int parsePos = -1;
         do {


Mime
View raw message