You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/06/15 11:08:05 UTC
[2/3] git commit: updated refs/heads/master to ccd7d41
Fix findbugs encoding warning, all .xml files contain only utf-8/us-ascii compatible characters
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9ad8c70b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9ad8c70b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9ad8c70b
Branch: refs/heads/master
Commit: 9ad8c70baade7dfaf44be99b77fd7be32ab51539
Parents: 967da97
Author: Rafael da Fonseca <rs...@gmail.com>
Authored: Fri Jun 12 21:39:41 2015 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Mon Jun 15 12:07:49 2015 +0300
----------------------------------------------------------------------
.../src/com/cloud/network/cisco/CiscoVnmcConnectionImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9ad8c70b/plugins/network-elements/cisco-vnmc/src/com/cloud/network/cisco/CiscoVnmcConnectionImpl.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/cisco-vnmc/src/com/cloud/network/cisco/CiscoVnmcConnectionImpl.java b/plugins/network-elements/cisco-vnmc/src/com/cloud/network/cisco/CiscoVnmcConnectionImpl.java
index 6481a28..eeaa610 100644
--- a/plugins/network-elements/cisco-vnmc/src/com/cloud/network/cisco/CiscoVnmcConnectionImpl.java
+++ b/plugins/network-elements/cisco-vnmc/src/com/cloud/network/cisco/CiscoVnmcConnectionImpl.java
@@ -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 = "";