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:
Rafael da Fonseca 2015-06-12 21:39:41 +02:00 committed by Rohit Yadav
parent 967da97f51
commit 9ad8c70baa
1 changed files with 1 additions and 1 deletions

View File

@ -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 = "";