1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-23 16:18:50 -05:00

Remove unnecessary type cast

This commit is contained in:
cketti 2013-09-06 19:20:48 +02:00
parent 1ca1ef5c84
commit 6cd52c123c
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class BinaryTempFileBody implements Body {
boolean closeStream = false;
InputStream in = getInputStream();
if (MimeUtil.isBase64Encoding(mEncoding)) {
out = (OutputStream) new Base64OutputStream(out);
out = new Base64OutputStream(out);
closeStream = true;
} else if (MimeUtil.isQuotedPrintableEncoded(mEncoding)){
out = new QuotedPrintableOutputStream(out, false);

View File

@ -4031,7 +4031,7 @@ public class LocalStore extends Store implements Serializable {
boolean closeStream = false;
InputStream in = getInputStream();
if (MimeUtil.isBase64Encoding(mEncoding)) {
out = (OutputStream) new Base64OutputStream(out);
out = new Base64OutputStream(out);
closeStream = true;
} else if (MimeUtil.isQuotedPrintableEncoded(mEncoding)){
out = new QuotedPrintableOutputStream(out, false);