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
downloader: prepare offline mode
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
supported
/
Fanfiction.java
diff --git
a/src/be/nikiroo/fanfix/supported/Fanfiction.java
b/src/be/nikiroo/fanfix/supported/Fanfiction.java
index 7bdd4ffb9ca5c74f6548069328fae900be05b2e0..0dcd7903e077d2bb6afa268247e04ea39a04722a 100644
(file)
--- a/
src/be/nikiroo/fanfix/supported/Fanfiction.java
+++ b/
src/be/nikiroo/fanfix/supported/Fanfiction.java
@@
-118,7
+118,7
@@
class Fanfiction extends BasicSupport_Deprecated {
}
}
}
}
- return
null
;
+ return
""
;
}
private String getAuthor(InputStream in) {
}
private String getAuthor(InputStream in) {
@@
-138,7
+138,7
@@
class Fanfiction extends BasicSupport_Deprecated {
}
}
}
}
- return
BasicSupport
Helper.fixAuthor(author);
+ return
bs
Helper.fixAuthor(author);
}
private String getDate(InputStream in) {
}
private String getDate(InputStream in) {
@@
-304,10
+304,10
@@
class Fanfiction extends BasicSupport_Deprecated {
int pos = line.indexOf("<hr");
if (pos >= 0) {
boolean chaptered = false;
int pos = line.indexOf("<hr");
if (pos >= 0) {
boolean chaptered = false;
- for (String lang : Instance.getConfig()
-
.getString(Config.CHAPTER).split(","
)) {
+ for (String lang : Instance.getConfig()
.getList(
+
Config.CONF_CHAPTER
)) {
String chapterWord = Instance.getConfig()
String chapterWord = Instance.getConfig()
- .getStringX(Config.CHAPTER, lang);
+ .getStringX(Config.C
ONF_C
HAPTER, lang);
int posChap = line.indexOf(chapterWord + " ");
if (posChap < pos) {
chaptered = true;
int posChap = line.indexOf(chapterWord + " ");
if (posChap < pos) {
chaptered = true;