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
Version 1.6.0
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
data
/
Paragraph.java
diff --git
a/src/be/nikiroo/fanfix/data/Paragraph.java
b/src/be/nikiroo/fanfix/data/Paragraph.java
index e409c286ae2949be6242c772b6fb7a1783e6a51f..1a7429a403a8a6f0bc0742fb29f14ad2d7811da5 100644
(file)
--- a/
src/be/nikiroo/fanfix/data/Paragraph.java
+++ b/
src/be/nikiroo/fanfix/data/Paragraph.java
@@
-30,14
+30,19
@@
public class Paragraph {
private String content;
private long words;
private String content;
private long words;
+ /**
+ * Empty constructor, not to use.
+ */
+ @SuppressWarnings("unused")
+ private Paragraph() {
+ // for serialisation purposes
+ }
+
/**
* Create a new {@link Paragraph} with the given image.
*
/**
* 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);
*/
public Paragraph(URL imageUrl) {
this(ParagraphType.IMAGE, imageUrl.toString(), 0);