mirror of https://github.com/apache/cloudstack.git
Fix findbugs encoding warning, all .xml files contain only utf-8/us-ascii compatible characters
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
967da97f51
commit
9ad8c70baa
|
|
@ -129,7 +129,7 @@ public class CiscoVnmcConnectionImpl implements CiscoVnmcConnection {
|
|||
throw new Exception("Failed to find Cisco VNMC XML file: " + filename);
|
||||
}
|
||||
|
||||
FileReader fr = new FileReader(xmlFilePath);
|
||||
InputStreamReader fr = new InputStreamReader(new FileInputStream(xmlFilePath),"UTF-8");
|
||||
BufferedReader br = new BufferedReader(fr);
|
||||
|
||||
String xml = "";
|
||||
|
|
|
|||
Loading…
Reference in New Issue