Refactoring

This commit is contained in:
M66B 2022-09-29 22:31:13 +02:00
parent 024b823f38
commit 5f82eb962d
1 changed files with 2 additions and 2 deletions

View File

@ -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) {