Network server and Library + nikiroo-utils update
[nikiroo-utils.git] / src / be / nikiroo / fanfix / data / Chapter.java
index 839d67b7c0ad2a079cbbc28ddf7e16019031b85f..d9f285f96762ce135b8046578f0df9d75d31b819 100644 (file)
@@ -16,6 +16,13 @@ public class Chapter implements Iterable<Paragraph> {
        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.
         * 
@@ -79,7 +86,7 @@ public class Chapter implements Iterable<Paragraph> {
        /**
         * The included paragraphs.
         * 
-        * @param paragraphes
+        * @param paragraphs
         *            the paragraphs to set
         */
        public void setParagraphs(List<Paragraph> paragraphs) {