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
Update nikiroo-utils
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
library
/
LocalLibrary.java
diff --git
a/src/be/nikiroo/fanfix/library/LocalLibrary.java
b/src/be/nikiroo/fanfix/library/LocalLibrary.java
index 4cdfb944e0cd7b62bdbdedadac580cefa61f895b..97863e7b29e7b26f7489895374405c414b5f6847 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/LocalLibrary.java
+++ b/
src/be/nikiroo/fanfix/library/LocalLibrary.java
@@
-128,7
+128,7
@@
public class LocalLibrary extends BasicLibrary {
}
@Override
}
@Override
- protected void invalidateInfo(String luid) {
+ protected
synchronized
void invalidateInfo(String luid) {
stories = null;
sourceCovers = new HashMap<String, Image>();
}
stories = null;
sourceCovers = new HashMap<String, Image>();
}
@@
-205,7
+205,7
@@
public class LocalLibrary extends BasicLibrary {
@Override
public void setSourceCover(String source, String luid) {
sourceCovers.put(source, getCover(luid));
@Override
public void setSourceCover(String source, String luid) {
sourceCovers.put(source, getCover(luid));
- File cover = new File(getExpectedDir(source), ".cover
.png
");
+ File cover = new File(getExpectedDir(source), ".cover");
try {
Instance.getCache().saveAsImage(sourceCovers.get(source), cover,
true);
try {
Instance.getCache().saveAsImage(sourceCovers.get(source), cover,
true);
@@
-519,7
+519,7
@@
public class LocalLibrary extends BasicLibrary {
*/
void setSourceCover(String source, Image coverImage) {
sourceCovers.put(source, coverImage);
*/
void setSourceCover(String source, Image coverImage) {
sourceCovers.put(source, coverImage);
- File cover = new File(getExpectedDir(source), ".cover
.png
");
+ File cover = new File(getExpectedDir(source), ".cover");
try {
Instance.getCache().saveAsImage(sourceCovers.get(source), cover,
true);
try {
Instance.getCache().saveAsImage(sourceCovers.get(source), cover,
true);