1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-04 14:52:24 -05:00

From coverity: set encoding on byte array to String conversion

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2216 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2014-01-28 21:30:57 +00:00
parent e65a0361f5
commit 8f6328237e

View File

@ -41,7 +41,7 @@ public class OSXInfoPlist {
FileInputStream fileInputStream = null;
try {
fileInputStream = new FileInputStream(getInfoPlistPath());
return new String(IOUtil.readFully(fileInputStream));
return new String(IOUtil.readFully(fileInputStream), "UTF-8");
} finally {
if (fileInputStream != null) {
try {