mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
code cleanup
This commit is contained in:
parent
5f3bd53bc8
commit
22792f5522
1 changed files with 2 additions and 2 deletions
|
@ -1061,8 +1061,8 @@ final class SQLiteBooksDatabase extends BooksDatabase {
|
|||
|
||||
@Override
|
||||
protected RationalNumber loadPosition(long bookId) {
|
||||
RationalNumber progress;
|
||||
Cursor cursor = myDatabase.rawQuery(
|
||||
final RationalNumber progress;
|
||||
final Cursor cursor = myDatabase.rawQuery(
|
||||
"SELECT numerator,denominator FROM BookReadingProgress WHERE book_id = " + bookId, null
|
||||
);
|
||||
if (cursor.moveToNext()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue