git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Network server and Library + nikiroo-utils update
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
data
/
Chapter.java
diff --git
a/src/be/nikiroo/fanfix/data/Chapter.java
b/src/be/nikiroo/fanfix/data/Chapter.java
index 7d0a51b306b62bfc7f821065a0c10e358be82075..d9f285f96762ce135b8046578f0df9d75d31b819 100644
(file)
--- a/
src/be/nikiroo/fanfix/data/Chapter.java
+++ b/
src/be/nikiroo/fanfix/data/Chapter.java
@@
-16,6
+16,13
@@
public class Chapter implements Iterable<Paragraph> {
private List<Paragraph> empty = new ArrayList<Paragraph>();
private long words;
private List<Paragraph> empty = new ArrayList<Paragraph>();
private long words;
+ /**
+ * Empty constructor, not to use.
+ */
+ private Chapter() {
+ // for serialisation purposes
+ }
+
/**
* Create a new {@link Chapter} with the given information.
*
/**
* Create a new {@link Chapter} with the given information.
*