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
/
library
/
BasicLibrary.java
diff --git
a/src/be/nikiroo/fanfix/library/BasicLibrary.java
b/src/be/nikiroo/fanfix/library/BasicLibrary.java
index 586c4ef17e11ff4d8c7eefa1cf6c689dac71ce59..a754c002d3e99b2ecb25df00038599b67b0fa021 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/BasicLibrary.java
+++ b/
src/be/nikiroo/fanfix/library/BasicLibrary.java
@@
-348,14
+348,14
@@
abstract public class BasicLibrary {
/**
* Check if the {@link Story} denoted by this Library UID is present in the
/**
* Check if the {@link Story} denoted by this Library UID is present in the
- * cache (if we have no cache, we default to </t>true</tt>).
+ * cache (if we have no cache, we default to </t
t
>true</tt>).
*
* @param luid
* the Library UID
*
* @return TRUE if it is
*/
*
* @param luid
* the Library UID
*
* @return TRUE if it is
*/
- public boolean isCached(String luid) {
+ public boolean isCached(
@SuppressWarnings("unused")
String luid) {
// By default, everything is cached
return true;
}
// By default, everything is cached
return true;
}
@@
-372,6
+372,7
@@
abstract public class BasicLibrary {
* @throws IOException
* in case of I/O error
*/
* @throws IOException
* in case of I/O error
*/
+ @SuppressWarnings("unused")
public void clearFromCache(String luid) throws IOException {
// By default, this is a noop.
}
public void clearFromCache(String luid) throws IOException {
// By default, this is a noop.
}
@@
-637,7
+638,7
@@
abstract public class BasicLibrary {
* @throws IOException
* in case of IOException
*/
* @throws IOException
* in case of IOException
*/
- public
synchronized
Story getStory(String luid, Progress pg)
+ public Story getStory(String luid, Progress pg)
throws IOException {
Progress pgMetas = new Progress();
Progress pgStory = new Progress();
throws IOException {
Progress pgMetas = new Progress();
Progress pgStory = new Progress();