mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
fix
This commit is contained in:
parent
f75667420f
commit
59963a6af0
2 changed files with 6 additions and 14 deletions
|
@ -1054,8 +1054,8 @@ final class SQLiteBooksDatabase extends BooksDatabase {
|
|||
);
|
||||
}
|
||||
myStorePositionStatement.bindLong(1, bookId);
|
||||
myStorePositionStatement.bindLong(2, progress.getNumerator());
|
||||
myStorePositionStatement.bindLong(3, progress.getDenominator());
|
||||
myStorePositionStatement.bindLong(2, progress.Numerator);
|
||||
myStorePositionStatement.bindLong(3, progress.Denominator);
|
||||
myStorePositionStatement.execute();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,19 +1,11 @@
|
|||
package org.geometerplus.fbreader.book;
|
||||
|
||||
public class RationalNumber {
|
||||
private long myNumerator;
|
||||
private long myDenominator;
|
||||
public final long Numerator;
|
||||
public final long Denominator;
|
||||
|
||||
public RationalNumber(long numerator, long denominator) {
|
||||
myNumerator = numerator;
|
||||
myDenominator = denominator;
|
||||
}
|
||||
|
||||
public long getNumerator() {
|
||||
return myNumerator;
|
||||
}
|
||||
|
||||
public long getDenominator() {
|
||||
return myDenominator;
|
||||
Numerator = numerator;
|
||||
Denominator = denominator;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue