- update check will now be more clear when it cannot contact github.com
- epub support will now fail with "epub not supported" instead of NPE
reader.close();
}
} catch (IOException e) {
- Instance.syserr(e);
+ Instance.syserr(new IOException(
+ "Cannot download latest changelist on github.com", e));
}
}
if (!entry.isDirectory()
&& entry.getName().startsWith(getDataPrefix())) {
String entryLName = entry.getName().toLowerCase();
-
+
boolean imageEntry = false;
for (String ext : getImageExt(false)) {
if (entryLName.endsWith(ext)) {
tmp = null;
- fakeIn.close();
+ if (fakeIn != null) {
+ fakeIn.close();
+ }
+
super.close();
}