mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
fixed ClassCastException
Conflicts: AndroidManifest.xml
This commit is contained in:
parent
fdd5c4f526
commit
ab0f51bda7
3 changed files with 11 additions and 2 deletions
|
@ -119,4 +119,13 @@ public abstract class LibraryTree extends FBTree {
|
|||
}
|
||||
return !toRemove.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(FBTree tree) {
|
||||
final int cmp = super.compareTo(tree);
|
||||
if (cmp == 0) {
|
||||
return getClass().getSimpleName().compareTo(tree.getClass().getSimpleName());
|
||||
}
|
||||
return cmp;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue