Fix findbugs encoding warning ESX responses should be encoded in UTF-8

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

This closes #406
This commit is contained in:
Rafael da Fonseca 2015-06-14 12:34:39 +02:00 committed by Rohit Yadav
parent f03411ca04
commit dc64c7e843
1 changed files with 1 additions and 1 deletions

View File

@ -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 {