X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbe%2Fnikiroo%2Ffanfix%2FLibrary.java;h=0d9e067f30dcb6c24fe2e3a1e48fa098464f04e9;hb=d98a29006897a1ae31ff3a039afe9643a48e0704;hp=b5f246c6abe8eaa3f9a034da164ee99f290434c8;hpb=333f0e7b5e333e8f6222881ce35398f403fc4121;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/Library.java b/src/be/nikiroo/fanfix/Library.java index b5f246c..0d9e067 100644 --- a/src/be/nikiroo/fanfix/Library.java +++ b/src/be/nikiroo/fanfix/Library.java @@ -136,7 +136,7 @@ public class Library { * @param luid * the Library UID of the story * - * @return the corresponding {@link Story} + * @return the corresponding {@link Story} or NULL if not found */ public Story getStory(String luid) { if (luid != null) { @@ -246,7 +246,7 @@ public class Library { * @throws IOException * in case of I/O error */ - private Story save(Story story, String luid) throws IOException { + public Story save(Story story, String luid) throws IOException { // Do not change the original metadata, but change the original story MetaData key = story.getMeta().clone(); story.setMeta(key);