X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=inline;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fdata%2FChapter.java;h=832994a937d4379d8c3d2105344d8ed2f67eb241;hb=c8faa52a7993d29944e505b517619de44ac58279;hp=d9f285f96762ce135b8046578f0df9d75d31b819;hpb=b0e88ebd20f8b2950c382694e936da76ac3596b6;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/data/Chapter.java b/src/be/nikiroo/fanfix/data/Chapter.java index d9f285f..832994a 100644 --- a/src/be/nikiroo/fanfix/data/Chapter.java +++ b/src/be/nikiroo/fanfix/data/Chapter.java @@ -19,6 +19,7 @@ public class Chapter implements Iterable { /** * Empty constructor, not to use. */ + @SuppressWarnings("unused") private Chapter() { // for serialisation purposes } @@ -96,12 +97,13 @@ public class Chapter implements Iterable { /** * Get an iterator on the {@link Paragraph}s. */ + @Override public Iterator iterator() { return paragraphs == null ? empty.iterator() : paragraphs.iterator(); } /** - * The number of words in this {@link Chapter}. + * The number of words (or images) in this {@link Chapter}. * * @return the number of words */ @@ -110,7 +112,7 @@ public class Chapter implements Iterable { } /** - * The number of words in this {@link Chapter}. + * The number of words (or images) in this {@link Chapter}. * * @param words * the number of words to set