mirror of https://github.com/M66B/FairEmail.git
Refactoring
This commit is contained in:
parent
024b823f38
commit
5f82eb962d
|
@ -3209,8 +3209,8 @@ public class MessageHelper {
|
|||
if (h.contentType.match(ct)) {
|
||||
String _charset = ct.getParameter("charset");
|
||||
Charset _cs = (TextUtils.isEmpty(_charset)
|
||||
? StandardCharsets.ISO_8859_1 :
|
||||
Charset.forName(_charset));
|
||||
? StandardCharsets.ISO_8859_1
|
||||
: Charset.forName(_charset));
|
||||
result = Helper.readStream(bp.getInputStream(), _cs);
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
|
|
Loading…
Reference in New Issue