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
tui: fix meta/story use
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
reader
/
BasicReader.java
diff --git
a/src/be/nikiroo/fanfix/reader/BasicReader.java
b/src/be/nikiroo/fanfix/reader/BasicReader.java
index 8285edb47e74266bc747662fb3bbec87b5ae5460..778b6338b108f847bea745fbe8fe04c77a0454ec 100644
(file)
--- a/
src/be/nikiroo/fanfix/reader/BasicReader.java
+++ b/
src/be/nikiroo/fanfix/reader/BasicReader.java
@@
-91,18
+91,18
@@
public abstract class BasicReader implements Reader {
}
@Override
}
@Override
- public synchronized void setMeta(URL
source
, Progress pg)
+ public synchronized void setMeta(URL
url
, Progress pg)
throws IOException {
throws IOException {
- BasicSupport support = BasicSupport.getSupport(
source
);
+ BasicSupport support = BasicSupport.getSupport(
url
);
if (support == null) {
if (support == null) {
- throw new IOException("URL not supported: " +
source
.toString());
+ throw new IOException("URL not supported: " +
url
.toString());
}
story = support.process(pg);
if (story == null) {
throw new IOException(
"Cannot retrieve story from external source: "
}
story = support.process(pg);
if (story == null) {
throw new IOException(
"Cannot retrieve story from external source: "
- +
source
.toString());
+ +
url
.toString());
}
meta = story.getMeta();
}
meta = story.getMeta();