Eliminate unnecessary override in LocalAttachmentBody.

The overriding code is the same as the overridden code.
This commit is contained in:
Joe Steele 2013-09-30 16:55:39 -04:00
parent e20170c996
commit 33678ea022
1 changed files with 0 additions and 25 deletions

View File

@ -4084,31 +4084,6 @@ public class LocalStore extends Store implements Serializable {
}
}
@Override
public void writeTo(OutputStream out) throws IOException, MessagingException {
InputStream in = getInputStream();
try {
boolean closeStream = false;
if (MimeUtil.isBase64Encoding(mEncoding)) {
out = new Base64OutputStream(out);
closeStream = true;
} else if (MimeUtil.isQuotedPrintableEncoded(mEncoding)){
out = new QuotedPrintableOutputStream(out, false);
closeStream = true;
}
try {
IOUtils.copy(in, out);
} finally {
if (closeStream) {
out.close();
}
}
} finally {
in.close();
}
}
public Uri getContentUri() {
return mUri;
}