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
Stop remote server fix
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
supported
/
BasicSupport.java
diff --git
a/src/be/nikiroo/fanfix/supported/BasicSupport.java
b/src/be/nikiroo/fanfix/supported/BasicSupport.java
index e6089eb046aff22654778d60678c235ea75745ea..c609c70324dd665313cc07b1de4eaa91ccb48060 100644
(file)
--- a/
src/be/nikiroo/fanfix/supported/BasicSupport.java
+++ b/
src/be/nikiroo/fanfix/supported/BasicSupport.java
@@
-398,7
+398,7
@@
public abstract class BasicSupport {
try {
close();
} catch (IOException e) {
try {
close();
} catch (IOException e) {
- Instance.
syser
r(e);
+ Instance.
getTraceHandler().erro
r(e);
}
if (in != null) {
}
if (in != null) {
@@
-519,7
+519,7
@@
public abstract class BasicSupport {
try {
close();
} catch (IOException e) {
try {
close();
} catch (IOException e) {
- Instance.
syser
r(e);
+ Instance.
getTraceHandler().erro
r(e);
}
if (in != null) {
}
if (in != null) {
@@
-757,10
+757,10
@@
public abstract class BasicSupport {
* @return the {@link Paragraph}
*/
private Paragraph makeParagraph(URL source, String line) {
* @return the {@link Paragraph}
*/
private Paragraph makeParagraph(URL source, String line) {
-
URL
image = null;
+
BufferedImage
image = null;
if (line.startsWith("[") && line.endsWith("]")) {
if (line.startsWith("[") && line.endsWith("]")) {
- image = getImage
Url(this, source,
-
line.substring(1, line.length() - 1)
.trim());
+ image = getImage
(this, source, line.substring(1, line.length() - 1)
+ .trim());
}
if (image != null) {
}
if (image != null) {
@@
-941,7
+941,8
@@
public abstract class BasicSupport {
// try for URLs
try {
for (String ext : getImageExt(true)) {
// try for URLs
try {
for (String ext : getImageExt(true)) {
- if (Instance.getCache().check(new URL(line + ext))) {
+ if (Instance.getCache()
+ .check(new URL(line + ext), true)) {
url = new URL(line + ext);
break;
}
url = new URL(line + ext);
break;
}