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
1 changed files with 1 additions and 1 deletions

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 {