mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +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(1, bookId);
|
||||||
myStorePositionStatement.bindLong(2, progress.getNumerator());
|
myStorePositionStatement.bindLong(2, progress.Numerator);
|
||||||
myStorePositionStatement.bindLong(3, progress.getDenominator());
|
myStorePositionStatement.bindLong(3, progress.Denominator);
|
||||||
myStorePositionStatement.execute();
|
myStorePositionStatement.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,11 @@
|
||||||
package org.geometerplus.fbreader.book;
|
package org.geometerplus.fbreader.book;
|
||||||
|
|
||||||
public class RationalNumber {
|
public class RationalNumber {
|
||||||
private long myNumerator;
|
public final long Numerator;
|
||||||
private long myDenominator;
|
public final long Denominator;
|
||||||
|
|
||||||
public RationalNumber(long numerator, long denominator) {
|
public RationalNumber(long numerator, long denominator) {
|
||||||
myNumerator = numerator;
|
Numerator = numerator;
|
||||||
myDenominator = denominator;
|
Denominator = denominator;
|
||||||
}
|
|
||||||
|
|
||||||
public long getNumerator() {
|
|
||||||
return myNumerator;
|
|
||||||
}
|
|
||||||
|
|
||||||
public long getDenominator() {
|
|
||||||
return myDenominator;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue