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
change config bundle to better work with new nikiroo-utils
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
supported
/
BasicSupportHelper.java
diff --git
a/src/be/nikiroo/fanfix/supported/BasicSupportHelper.java
b/src/be/nikiroo/fanfix/supported/BasicSupportHelper.java
index 0c9e199fa2695af13d15493e1a121aa37a04f270..652506762ff6b9cc5aa13f19836d40d04e16bd42 100644
(file)
--- a/
src/be/nikiroo/fanfix/supported/BasicSupportHelper.java
+++ b/
src/be/nikiroo/fanfix/supported/BasicSupportHelper.java
@@
-80,8
+80,7
@@
class BasicSupportHelper {
}
InputStream in = null;
try {
}
InputStream in = null;
try {
- in = Instance.getCache().open(url,
- BasicSupport.getSupport(url), true);
+ in = Instance.getCache().open(url, support, true);
return new Image(in);
} catch (IOException e) {
} finally {
return new Image(in);
} catch (IOException e) {
} finally {
@@
-205,8
+204,7
@@
class BasicSupportHelper {
public static String fixAuthor(String author) {
if (author != null) {
for (String suffix : new String[] { " ", ":" }) {
public static String fixAuthor(String author) {
if (author != null) {
for (String suffix : new String[] { " ", ":" }) {
- for (String byString : Instance.getConfig()
- .getString(Config.BYS).split(",")) {
+ for (String byString : Instance.getConfig().getList(Config.BYS)) {
byString += suffix;
if (author.toUpperCase().startsWith(byString.toUpperCase())) {
author = author.substring(byString.length()).trim();
byString += suffix;
if (author.toUpperCase().startsWith(byString.toUpperCase())) {
author = author.substring(byString.length()).trim();