mirror of
https://github.com/thunderbird/thunderbird-android.git
synced 2024-09-20 04:02:14 +02:00
Update Apache James Mime4J to version 0.8.8
This commit is contained in:
parent
d858b20f3f
commit
ddd464cffb
@ -651,9 +651,13 @@ public class LocalStore {
|
||||
if (MimeUtil.ENC_QUOTED_PRINTABLE.equals(encoding)) {
|
||||
return new QuotedPrintableInputStream(rawInputStream) {
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
public void close() {
|
||||
super.close();
|
||||
rawInputStream.close();
|
||||
try {
|
||||
rawInputStream.close();
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ preferencesFix = "1.1.0"
|
||||
timber = "5.0.1"
|
||||
koinCore = "3.3.2"
|
||||
koinAndroid = "3.3.2"
|
||||
mime4j = "0.8.6"
|
||||
mime4j = "0.8.8"
|
||||
okhttp = "4.10.0"
|
||||
glide = "4.14.2"
|
||||
moshi = "1.14.0"
|
||||
|
@ -149,9 +149,13 @@ public class MimeUtility {
|
||||
} else if (MimeUtil.ENC_QUOTED_PRINTABLE.equalsIgnoreCase(encoding)) {
|
||||
inputStream = new QuotedPrintableInputStream(rawInputStream) {
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
public void close() {
|
||||
super.close();
|
||||
closeInputStreamWithoutDeletingTemporaryFiles(rawInputStream);
|
||||
try {
|
||||
closeInputStreamWithoutDeletingTemporaryFiles(rawInputStream);
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user