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

Catalog loading changes

git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1614 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
Vasiliy Bout 2010-07-21 16:41:52 +00:00
parent c363a06058
commit 06b2ffc2bc
7 changed files with 14 additions and 66 deletions

View file

@ -72,12 +72,6 @@ abstract class ItemsLoadingRunnable implements Runnable {
}
}
private boolean isLoadingInterruptRequested() {
synchronized (myInterruptLock) {
return myInterruptRequested;
}
}
public ItemsLoadingRunnable(ItemsLoadingHandler handler) {
this(handler, 1000, 500);
@ -113,9 +107,6 @@ abstract class ItemsLoadingRunnable implements Runnable {
myUpdateTime = now + UpdateInterval;
}
}
public boolean requestInterrupt() {
return isLoadingInterruptRequested() || myItemsNumber >= ItemsLimit;
}
public boolean confirmInterrupt() {
return confirmInterruptLoading() || myItemsNumber >= ItemsLimit;
}