git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix custom author covers
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
fanfix
/
library
/
CacheLibrary.java
diff --git
a/src/be/nikiroo/fanfix/library/CacheLibrary.java
b/src/be/nikiroo/fanfix/library/CacheLibrary.java
index 0f283183b620006188040d0e59c84b3025e7f9e7..9432b33f5a0fb0b46fa360e3ca882fe3386bb87e 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/CacheLibrary.java
+++ b/
src/be/nikiroo/fanfix/library/CacheLibrary.java
@@
-127,18
+127,17
@@
public class CacheLibrary extends BasicLibrary {
@Override
public Image getAuthorCover(String author) {
@Override
public Image getAuthorCover(String author) {
- Image custom = getCustom
Source
Cover(author);
+ Image custom = getCustom
Author
Cover(author);
if (custom != null) {
return custom;
}
if (custom != null) {
return custom;
}
- Image cached = cacheLib.get
Source
Cover(author);
+ Image cached = cacheLib.get
Author
Cover(author);
if (cached != null) {
return cached;
}
if (cached != null) {
return cached;
}
- return lib.getSourceCover(author);
-
+ return lib.getAuthorCover(author);
}
@Override
}
@Override
@@
-153,7
+152,7
@@
public class CacheLibrary extends BasicLibrary {
return custom;
}
return custom;
}
-
+
@Override
public Image getCustomAuthorCover(String author) {
Image custom = cacheLib.getCustomAuthorCover(author);
@Override
public Image getCustomAuthorCover(String author) {
Image custom = cacheLib.getCustomAuthorCover(author);