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 branch 'subtree'
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
fanfix
/
supported
/
Html.java
diff --git
a/src/be/nikiroo/fanfix/supported/Html.java
b/src/be/nikiroo/fanfix/supported/Html.java
index 5fe28397e66936698a73dec7c64787bc08a43730..900fa0a1772f0ffd5ecfcaf2fecfbd8b248168a0 100644
(file)
--- a/
src/be/nikiroo/fanfix/supported/Html.java
+++ b/
src/be/nikiroo/fanfix/supported/Html.java
@@
-14,11
+14,6
@@
import be.nikiroo.fanfix.Instance;
* @author niki
*/
class Html extends InfoText {
* @author niki
*/
class Html extends InfoText {
- @Override
- public String getSourceName() {
- return "html";
- }
-
@Override
protected boolean supports(URL url) {
try {
@Override
protected boolean supports(URL url) {
try {
@@
-56,9
+51,8
@@
class Html extends InfoText {
try {
source = txt.toURI().toURL();
} catch (MalformedURLException e) {
try {
source = txt.toURI().toURL();
} catch (MalformedURLException e) {
- Instance.getTraceHandler().error(
- new IOException("Cannot convert the right URL for "
- + source, e));
+ Instance.getInstance().getTraceHandler()
+ .error(new IOException("Cannot convert the right URL for " + source, e));
}
}
}
}