git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gui: do not always refresh the books after an action
[nikiroo-utils.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 b8b8185cd50f75b915d732901ce8a79814bb9727..4abaefa34f099943119bbb9009dd9e42bf42ac35 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/BasicLibrary.java
+++ b/
src/be/nikiroo/fanfix/library/BasicLibrary.java
@@
-185,7
+185,7
@@
abstract public class BasicLibrary {
/**
* Set the author cover to the given story cover.
*
/**
* Set the author cover to the given story cover.
*
- * @param
source
+ * @param
author
* the author to change
* @param luid
* the story LUID
* the author to change
* @param luid
* the story LUID
@@
-599,7
+599,8
@@
abstract public class BasicLibrary {
*
* @return the corresponding {@link Story} or NULL if not found
*/
*
* @return the corresponding {@link Story} or NULL if not found
*/
- public synchronized Story getStory(String luid, MetaData meta, Progress pg) {
+ public synchronized Story getStory(String luid,
+ @SuppressWarnings("javadoc") MetaData meta, Progress pg) {
if (pg == null) {
pg = new Progress();
if (pg == null) {
pg = new Progress();
@@
-633,9
+634,10
@@
abstract public class BasicLibrary {
} catch (IOException e) {
// We should not have not-supported files in the
// library
} catch (IOException e) {
// We should not have not-supported files in the
// library
- Instance.getTraceHandler()
- .error(new IOException("Cannot load file from library: "
- + file, e));
+ Instance.getTraceHandler().error(
+ new IOException(String.format(
+ "Cannot load file of type '%s' from library: %s",
+ meta.getType(), file), e));
} finally {
pgProcess.done();
pg.done();
} finally {
pgProcess.done();
pg.done();