1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 19:42:17 +02:00

duplicates issue

This commit is contained in:
Nikolay Pultsin 2012-09-16 02:00:16 +03:00
parent c2c59108c9
commit 7ca6b46fa9
3 changed files with 12 additions and 1 deletions

View file

@ -1,5 +1,6 @@
===== 1.6.0 (Sep ??, 2012) =====
* MS Word (.doc) format support
* Fixed library duplicates issue
* Can add custom catalogs even if opensearch links are not fully correct
* Fixed curl page turning animation on devices with Android 4.0.3/4.0.4
* More API methods

View file

@ -188,6 +188,11 @@ public abstract class ZLFile {
return getPath().equals(((ZLFile)o).getPath());
}
@Override
public String toString() {
return "ZLFile [" + getPath() + "]";
}
protected boolean isCached() {
return myIsCached;
}

View file

@ -64,7 +64,12 @@ public final class ZLPhysicalFile extends ZLFile {
@Override
public String getPath() {
return myFile.getPath();
try {
return myFile.getCanonicalPath();
} catch (IOException e) {
// should bew never thrown
return myFile.getPath();
}
}
@Override