X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fdata%2FParagraph.java;h=8a9130bf83fdcc8342a796f125a64a1aa994ea4c;hb=b0e88ebd20f8b2950c382694e936da76ac3596b6;hp=e409c286ae2949be6242c772b6fb7a1783e6a51f;hpb=793f1071fae48daed3b545a03a286c85e527d244;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/data/Paragraph.java b/src/be/nikiroo/fanfix/data/Paragraph.java index e409c28..8a9130b 100644 --- a/src/be/nikiroo/fanfix/data/Paragraph.java +++ b/src/be/nikiroo/fanfix/data/Paragraph.java @@ -30,14 +30,18 @@ public class Paragraph { private String content; private long words; + /** + * Empty constructor, not to use. + */ + private Paragraph() { + // for serialisation purposes + } + /** * Create a new {@link Paragraph} with the given image. * - * @param support - * the support that will be used to fetch the image via - * {@link Paragraph#getContentImage()}. - * @param content - * the content image of this paragraph + * @param imageUrl + * the image as an URL */ public Paragraph(URL imageUrl) { this(ParagraphType.IMAGE, imageUrl.toString(), 0);