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:
parent
1ca1ef5c84
commit
6cd52c123c
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user