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

common code has been moved from platform-specific directory

This commit is contained in:
Nikolay Pultsin 2011-07-14 15:29:47 +01:00
parent c782ce00be
commit 15a0394ccf
6 changed files with 53 additions and 29 deletions

View file

@ -49,4 +49,9 @@ public class AuthorTree extends LibraryTree {
protected String getSortKey() {
return (Author != null) ? Author.SortKey : null;
}
@Override
public boolean containsBook(Book book) {
return book != null && book.authors().contains(Author);
}
}