TODO update, gui: jdoc + small rename
[fanfix.git] / src / be / nikiroo / fanfix / library / CacheLibrary.java
index 29920e8902b0090354ae7d82680fe7d4bdf866d3..c8721ddae3719cae169e00112efc1308d76177a1 100644 (file)
@@ -136,7 +136,7 @@ public class CacheLibrary extends BasicLibrary {
        @Override
        public void setSourceCover(String source, String luid) {
                lib.setSourceCover(source, luid);
-               cacheLib.setSourceCover(source, getSourceCover(source));
+               cacheLib.setSourceCover(source, getCover(luid));
        }
 
        @Override
@@ -249,6 +249,9 @@ public class CacheLibrary extends BasicLibrary {
 
        /**
         * Clear the {@link Story} from the cache.
+        * <p>
+        * The next time we try to retrieve the {@link Story}, it may be required to
+        * cache it again.
         * 
         * @param luid
         *            the story to clear