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
Merge branch 'subtree'
[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 af7920bf14efdde77dbd2bebe77489f505b6fa30..f6024eef85025eefc0f0df1ada0b02fd2c2b254a 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/BasicLibrary.java
+++ b/
src/be/nikiroo/fanfix/library/BasicLibrary.java
@@
-311,7
+311,7
@@
abstract public class BasicLibrary {
*
* @return the next luid
*/
*
* @return the next luid
*/
- protected abstract
int
getNextId();
+ protected abstract
String
getNextId();
/**
* Delete the target {@link Story}.
/**
* Delete the target {@link Story}.
@@
-741,7
+741,7
@@
abstract public class BasicLibrary {
pg.setName("Saving story");
if (luid == null || luid.isEmpty()) {
pg.setName("Saving story");
if (luid == null || luid.isEmpty()) {
- meta.setLuid(
String.format("%03d", getNextId()
));
+ meta.setLuid(
getNextId(
));
} else {
meta.setLuid(luid);
}
} else {
meta.setLuid(luid);
}