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

fixed recent/favorites list behaviour

'by series' library view
This commit is contained in:
Nikolay Pultsin 2011-07-18 00:10:20 +01:00
parent bc82f3abf6
commit 6d96924ac5
6 changed files with 42 additions and 42 deletions

View file

@ -33,16 +33,6 @@ public class AuthorTree extends LibraryTree {
Author = author;
}
SeriesTree getSeriesSubTree(String series) {
final SeriesTree temp = new SeriesTree(series);
int position = Collections.binarySearch(subTrees(), temp);
if (position >= 0) {
return (SeriesTree)subTrees().get(position);
} else {
return new SeriesTree(this, series, - position - 1);
}
}
@Override
public String getName() {
return