From: Niki Roo Date: Mon, 4 Mar 2019 05:29:46 +0000 (+0100) Subject: fix warnings X-Git-Tag: fanfix-2.0.0~88 X-Git-Url: http://git.nikiroo.be/?p=fanfix.git;a=commitdiff_plain;h=1c0d00582dc0a191abe7b51e1b831e88f9a87def fix warnings --- diff --git a/src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java b/src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java index ba47484..f8ea9d4 100644 --- a/src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java +++ b/src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java @@ -40,7 +40,6 @@ import be.nikiroo.utils.StringUtils; @Deprecated public abstract class BasicSupport_Deprecated extends BasicSupport { private InputStream in; - private URL currentReferer; // with only one 'r', as in 'HTTP'... // quote chars private char openQuote = Instance.getTrans().getCharacter( @@ -75,6 +74,7 @@ public abstract class BasicSupport_Deprecated extends BasicSupport { throw new RuntimeException("should not be used by legacy code"); } + @Override public Story process(Progress pg) throws IOException { return process(getSource(), pg); } diff --git a/src/be/nikiroo/fanfix/supported/FimfictionApi.java b/src/be/nikiroo/fanfix/supported/FimfictionApi.java index f31f856..a99986f 100644 --- a/src/be/nikiroo/fanfix/supported/FimfictionApi.java +++ b/src/be/nikiroo/fanfix/supported/FimfictionApi.java @@ -212,7 +212,7 @@ class FimfictionApi extends BasicSupport { List> urls = new ArrayList>(); for (String title : chapterNames.values()) { - urls.add(new AbstractMap.SimpleEntry(title, null)); + urls.add(new AbstractMap.SimpleEntry(title, null)); } return urls;