From: Niki Roo Date: Thu, 12 Sep 2019 05:18:37 +0000 (+0200) Subject: MetaData: improve jDoc, fix deprecated X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=75919f2da8b8cd87f5f9d237989410499f7bb98d;p=fanfix-jexer.git MetaData: improve jDoc, fix deprecated --- diff --git a/changelog.md b/changelog.md index c4c0aa0..195310b 100644 --- a/changelog.md +++ b/changelog.md @@ -17,7 +17,7 @@ - FimFictionAPI: fix NPE - remote: encryption mode changed because Google - remote: not compatible with 2.x -- remote: now use password from config file +- remote: can now use password from config file - remote: worse perfs but much better memory usage - remote: log now includes the time of events diff --git a/src/be/nikiroo/fanfix/data/MetaData.java b/src/be/nikiroo/fanfix/data/MetaData.java index 1781d86..2c40beb 100644 --- a/src/be/nikiroo/fanfix/data/MetaData.java +++ b/src/be/nikiroo/fanfix/data/MetaData.java @@ -112,6 +112,8 @@ public class MetaData implements Cloneable, Comparable, Serializable { /** * The story resume (a.k.a. description). + *

+ * This can be NULL if we don't have a resume for this {@link Story}. * * @return the resume */ @@ -470,7 +472,7 @@ public class MetaData implements Cloneable, Comparable, Serializable { String cover = "none"; if (getCover() != null) { - cover = StringUtils.formatNumber(getCover().getData().length) + cover = StringUtils.formatNumber(getCover().getSize()) + "bytes"; }