git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'edcd53bbbba9f94e21f43fd03d3a2febcc2b1564'
[nikiroo-utils.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 10c82fc522c26cf24fe6936972a97852f9956825..fcf773bd78b787693cd3afa28febd8502f997fc6 100644
(file)
--- a/
src/be/nikiroo/fanfix/supported/Fanfiction.java
+++ b/
src/be/nikiroo/fanfix/supported/Fanfiction.java
@@
-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) {
@@
-153,7
+153,7
@@
class Fanfiction extends BasicSupport_Deprecated {
line = line.substring(0, pos).trim();
try {
SimpleDateFormat sdf = new SimpleDateFormat(
line = line.substring(0, pos).trim();
try {
SimpleDateFormat sdf = new SimpleDateFormat(
- "
YYYY
-MM-dd");
+ "
yyyy
-MM-dd");
return sdf
.format(new Date(1000 * Long.parseLong(line)));
} catch (NumberFormatException e) {
return sdf
.format(new Date(1000 * Long.parseLong(line)));
} catch (NumberFormatException e) {
@@
-305,9
+305,9
@@
class Fanfiction extends BasicSupport_Deprecated {
if (pos >= 0) {
boolean chaptered = false;
for (String lang : Instance.getConfig().getList(
if (pos >= 0) {
boolean chaptered = false;
for (String lang : Instance.getConfig().getList(
- Config.CHAPTER)) {
+ Config.C
ONF_C
HAPTER)) {
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;