git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'subtree'
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
reader
/
ui
/
GuiReaderBookInfo.java
diff --git
a/src/be/nikiroo/fanfix/reader/ui/GuiReaderBookInfo.java
b/src/be/nikiroo/fanfix/reader/ui/GuiReaderBookInfo.java
index c163834f493f875755ac0e3d15af12263433d7a2..3cef8cfddcd48232875e64be1ee5315abfac9616 100644
(file)
--- a/
src/be/nikiroo/fanfix/reader/ui/GuiReaderBookInfo.java
+++ b/
src/be/nikiroo/fanfix/reader/ui/GuiReaderBookInfo.java
@@
-17,6
+17,12
@@
import be.nikiroo.utils.StringUtils;
* @author niki
*/
public class GuiReaderBookInfo {
* @author niki
*/
public class GuiReaderBookInfo {
+ /**
+ * The type of {@link GuiReaderBook} (i.e., related to a story or to something else that
+ * can encompass stories).
+ *
+ * @author niki
+ */
public enum Type {
/** A normal story, which can be "read". */
STORY,
public enum Type {
/** A normal story, which can be "read". */
STORY,
@@
-207,7
+213,7
@@
public class GuiReaderBookInfo {
int size = 0;
try {
int size = 0;
try {
- size = lib.getList
BySource(source
).size();
+ size = lib.getList
().filter(source, null, null
).size();
} catch (IOException e) {
}
} catch (IOException e) {
}
@@
-237,7
+243,7
@@
public class GuiReaderBookInfo {
int size = 0;
try {
int size = 0;
try {
- size = lib.getList
ByAuthor(author
).size();
+ size = lib.getList
().filter(null, author, null
).size();
} catch (IOException e) {
}
} catch (IOException e) {
}