mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 19:42:17 +02:00
duplicates issue
This commit is contained in:
parent
c2c59108c9
commit
7ca6b46fa9
3 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue