if (type != null) {
story = BasicSupport.getSupport(type, url) //
.process(pgProcess);
+ System.out.println("orig meta: "+meta);
+ System.out.println("story retrieved: "+story);
// Because we do not want to clear the meta cache:
meta.setCover(story.getMeta().getCover());
story.setMeta(meta);
*/
public synchronized Story save(Story story, String luid, Progress pg)
throws IOException {
-
- System.out.println("story before save: "+story);
-
+
// Do not change the original metadata, but change the original story
MetaData meta = story.getMeta().clone();
story.setMeta(meta);
}
story = doSave(story, pg);
- System.out.println("story after save: "+story);
-
+
updateInfo(story.getMeta());
return story;