mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
code simplification
This commit is contained in:
parent
b5aa92064f
commit
c782ce00be
7 changed files with 25 additions and 33 deletions
|
@ -24,13 +24,6 @@ import java.util.*;
|
|||
import org.geometerplus.fbreader.tree.FBTree;
|
||||
|
||||
public abstract class LibraryTree extends FBTree {
|
||||
public static enum Status {
|
||||
READY_TO_OPEN,
|
||||
WAIT_FOR_OPEN,
|
||||
ALWAYS_RELOAD_BEFORE_OPENING,
|
||||
CANNOT_OPEN
|
||||
};
|
||||
|
||||
protected LibraryTree() {
|
||||
super();
|
||||
}
|
||||
|
@ -43,17 +36,6 @@ public abstract class LibraryTree extends FBTree {
|
|||
return getName();
|
||||
}
|
||||
|
||||
public Status getOpeningStatus() {
|
||||
return Status.READY_TO_OPEN;
|
||||
}
|
||||
|
||||
public String getOpeningStatusMessage() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void waitForOpening() {
|
||||
}
|
||||
|
||||
public Book getBook() {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue